<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/image-commands.mk, branch state</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-01-15T18:11:54Z</updated>
<entry>
<title>firmware-utils: mksercommfw: overhaul image creation</title>
<updated>2019-01-15T18:11:54Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-12T19:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff'/>
<id>urn:sha1:26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff</id>
<content type='text'>
Move the zip compression into a build recipe. Pad the image using the
existing build recipes as well to remove duplicate functionality

Change the code to append header and footer in two steps. Allow to use a
fixed filename as the netgear update image does.

Use a fixed timestamp within the zip archive to make the images
reproducible.

Due to the changes we are now compatible to the gnu89 c standard used by
default on the buildbots and we don't need to force a more recent
standard anymore.

Beside all changes, the footer still looks wrong in compare to the
netgear update image.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>build: remove duplicate mksercomfw image recipe</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T20:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=6a3f8b88185b2ee85bf7a33f6912508e7abcdef9'/>
<id>urn:sha1:6a3f8b88185b2ee85bf7a33f6912508e7abcdef9</id>
<content type='text'>
Keep the ramips/mt76x8 copy, since it's only required for this target at
the moment.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>build: move seama commands to image-commands.mk</title>
<updated>2018-12-30T19:08:13Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2018-12-29T19:06:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=fd35c5b205e7583628472b607ee4eb41c6d1b6d5'/>
<id>urn:sha1:fd35c5b205e7583628472b607ee4eb41c6d1b6d5</id>
<content type='text'>
Move it to image-commands.mk to get rid of duplicate recipes.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>build: move xor-image into image-commands</title>
<updated>2018-12-24T18:18:07Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2018-12-12T12:12:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=99df98442e1101607e3e6c902d5d957e72cea1d6'/>
<id>urn:sha1:99df98442e1101607e3e6c902d5d957e72cea1d6</id>
<content type='text'>
I moved xor-image into image-commands.mk to use it in ath79 target.

It required for NEC WG800HP.

Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: drop cameo-factory recipe</title>
<updated>2018-12-17T22:21:40Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2018-12-17T20:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=09004e6e13a85052cd56c58602d1300d6be52fc7'/>
<id>urn:sha1:09004e6e13a85052cd56c58602d1300d6be52fc7</id>
<content type='text'>
The cameo factory images are created using existing image build
commands, which makes the code obsolete.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>build: move append-string to image-commands.mk</title>
<updated>2018-12-17T22:21:26Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2018-12-17T20:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ffdce856e0c05616a033470f358b12ab0db8fde0'/>
<id>urn:sha1:ffdce856e0c05616a033470f358b12ab0db8fde0</id>
<content type='text'>
Move it to image-commands.mk so that it can used by other targets.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>image: remove duplicate cameo-factory</title>
<updated>2018-12-17T18:44:45Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2018-12-17T18:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=b8271e9da041df5d3db2bb0d8e3ae6628fef13c5'/>
<id>urn:sha1:b8271e9da041df5d3db2bb0d8e3ae6628fef13c5</id>
<content type='text'>
The function was accidentally added twice. Remove the duplicate.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>ath79: add d-link dir-825-c1 and dir-835-a1</title>
<updated>2018-12-16T23:21:34Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2018-12-01T18:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=6c3c4436ee1af0742de7c29bd9c4f10990ed2019'/>
<id>urn:sha1:6c3c4436ee1af0742de7c29bd9c4f10990ed2019</id>
<content type='text'>
This commit ports both dir-825-c1 and dir-835-a1 from ar71xx to ath79.
They're pretty much identical, except dir-835-a1 has less LEDs.

The routers come with 128 MByte of RAM and 16 MBytes of flash and sport
2.4GHz and 5.0GHz wireless. Both routers have entries already in
OpenWrt's TOH. Please check there for more information on these
antiquities.

https://openwrt.org/toh/hwdata/d-link/d-link_dir-825_c1
https://openwrt.org/toh/hwdata/d-link/d-link_dir-835_a1

Installation:

1. Connect to the web interface of the vendor firmware (usually
   listening on 192.168.0.1).
2. Go to "Tools", then "Firmware".
3. In the "Firmware Upgrade" box click "Browse".
4. Select the OpenWrt factory image for your router.
5. Click "Upload", confirm the popups if you agree to flash the file you
   selected.
6. Wait for firmware upgrade to complete. It takes about 5 minutes.

Run-tested on dir-825-c1. dir-835-a1 should work as well, but I don't
have this router so I can't confirm.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt; [trivial changes]
</content>
</entry>
<entry>
<title>image: add cameo-factory command</title>
<updated>2018-12-16T23:21:34Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2018-12-01T18:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=247fdceab6caa1d3bc29ca629833a2f705eb9d59'/>
<id>urn:sha1:247fdceab6caa1d3bc29ca629833a2f705eb9d59</id>
<content type='text'>
This command enables factory image generation for Cameo boards. On
upgrade the vendor firmware will check the size of the provided image
and if a specific string is located at the end of the binary.
cameo-factory will generate an image that the vendor firmware accepts.

Tested on a D-Link DIR-825 C1 with vendor firmwares 3.01 and 3.04.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>ath79: modify mtd partitions for Buffalo BHR-4GRV2</title>
<updated>2018-11-26T11:28:17Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2018-11-06T13:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=879f2ef7c0720c49f0911a6a3a7f8fe4111c2acb'/>
<id>urn:sha1:879f2ef7c0720c49f0911a6a3a7f8fe4111c2acb</id>
<content type='text'>
This commit modifies mtd partitions define for Buffalo BHR-4GRV2 and
move it to generic subtarget.

In Buffalo BHR-4GRV2, "kernel" partition is located behined "rootfs"
partition in the stock firmware. This causes the size of the kernel
to be limited by the fixed value.

0x50000                       0xe80000        0xff0000
  +-------------------------------+--------------+
  |            rootfs             |    kernel    |
  |           (14528k)            |    (1472k)   |
  +-------------------------------+--------------+

After ar71xx was updated to Kernel 4.14, the kernel size of BHR-4GRV2
exceeded the limit, and it breaks builds on official buildbot.
Since this issue was also confirmed in ath79, I modified the mtd
partitions to get rid of that limitation.

0x50000                                       0xff0000
  +----------------------------------------------+
  |                   firmware                   |
  |                   (16000k)                   |
  +----------------------------------------------+

However, this commit breaks compatibility with ar71xx firmware, so I
dropped "SUPPORTED_DEVICES += bhr-4grv2".

This commit requires new flash instruction instead of the old one.

Flash instruction using initramfs image:

1. Connect the computer to the LAN port of BHR-4GRV2
2. Set the IP address of the computer to 192.168.12.10
3. Rename the OpenWrt initramfs image to
"bhr4grv2-uImage-initramfs-gzip.bin" and place it into the TFTP
directory
4. Start the tftp server on the computer
5. While holding down the "ECO" button, connect power cable to
BHR-4GRV2 and turn on it
6. Flashing (orange) diag LED and release the finger from the button,
BHR-4GRV2 downloads the intiramfs image from TFTP server and boot
with it
7. On the initramfs image, create "/etc/fw_env.config" file with
following contents
  /dev/mtd1 0x0 0x10000 0x10000
8. Execute following commands to add environment variables for
u-boot
  fw_setenv ipaddr 192.168.12.1
  fw_setenv serverip 192.168.12.10
  fw_setenv ethaddr 00:aa:bb:cc:dd:ee
  fw_setenv bootcmd "bootm 0x9f050000 || bootm 0x9fe80000"
9. Perform sysupgrade with squashfs-sysupgrade image
10. Wait ~150 seconds to complete flashing

And this commit includes small fix; BHR-4GRV2 has QCA9557 as a SoC,
not QCA9558.

Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
</content>
</entry>
</feed>
