<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/package/boot, branch v18.06.6</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.6</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.6'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-11-12T15:31:09Z</updated>
<entry>
<title>ar71xx: update uboot-envtools for Netgear WNR routers</title>
<updated>2019-11-12T15:31:09Z</updated>
<author>
<name>Michal Cieslakiewicz</name>
</author>
<published>2019-11-06T09:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=79fd7593a21600c70c5ca1915546d68acd369bff'/>
<id>urn:sha1:79fd7593a21600c70c5ca1915546d68acd369bff</id>
<content type='text'>
Boards added: WNR1000v2, WNR2000v3, WNR2200, WNR612v2, WNDR4300.
Boards changed: WNDR3700 (u-boot env size is 2 sectors not 1).

Signed-off-by: Michal Cieslakiewicz &lt;michal.cieslakiewicz@wp.pl&gt;
(cherry picked from commit 11052900494ec8216b9b39ba0b24d5e036f4d323)
</content>
</entry>
<entry>
<title>uboot-fritz4040: update PKG_MIRROR_HASH</title>
<updated>2019-06-15T17:05:30Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2019-06-15T16:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a0543d8e702b36eab39df24a09a94ccbae864256'/>
<id>urn:sha1:a0543d8e702b36eab39df24a09a94ccbae864256</id>
<content type='text'>
the file on http://sources.openwrt.org/ has a different
PKG_MIRROR_HASH value.

Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>uboot-fritz4040: Add host flags for host compiler</title>
<updated>2019-05-17T20:03:25Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2019-05-17T19:32:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3239f5613696ff3bdeeafc0eceb00550e2005ced'/>
<id>urn:sha1:3239f5613696ff3bdeeafc0eceb00550e2005ced</id>
<content type='text'>
This adds the host staging directory to the include path to make it use
the zlib.h files from the staging include directory and also link
against the zlib version from the staging directory.

This fixes a compile problem when the zlib header were not installed on
the build host.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>ipq40xx: copy Fritz4040 UBoot to STAGING_DIR_IMAGE</title>
<updated>2019-03-18T19:41:02Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2019-01-04T20:17:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=dcfca830a85690d6973bf065be0070ec56f8aeb6'/>
<id>urn:sha1:dcfca830a85690d6973bf065be0070ec56f8aeb6</id>
<content type='text'>
Copy U-Boot to STAGING_DIR_IMAGE (and append it to the EVA-image from
there) to fix image generation using the image-builder.

Also remove the bootloader from DEVICE_PACKAGES and instead use the
BUILD_DEVICES directive from within the U-Boot makefile.

This fixes eva-image generation using the OpenWRT image-builder.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit 634c733065256979835ca3d7218ae8203a693683)
</content>
</entry>
<entry>
<title>uboot-fritz4040: fix crash caused by interaction with gcc 7.1+</title>
<updated>2019-01-26T18:40:23Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2019-01-25T17:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=91d3b873530a9c6e27356ee99357bffdd6f042eb'/>
<id>urn:sha1:91d3b873530a9c6e27356ee99357bffdd6f042eb</id>
<content type='text'>
David Bauer reported a u-boot crash (data abort) at a odd
place (byteswap) when he ran ping/tftp on his 7530.

|(FRITZ7530) # ping 192.168.1.70
|eth0 PHY0 up Speed :1000 Full duplex
|eth0 PHY1 Down Speed :10 Half duplex
|eth0 PHY2 Down Speed :10 Half duplex
|eth0 PHY3 Down Speed :10 Half duplex
|eth0 PHY4 Down Speed :10 Half duplex
|Using eth0 device
|data abort
|pc : [&lt;84234774&gt;]      lr : [&lt;842351a4&gt;]
|sp : 8412fdb0  ip : 0000009b     fp : 00000000
|r10: 00000000  r9 : 00000001     r8 : 8412ff68
|r7 : 00000000  r6 : 0000002a     r5 : 84244e90  r4 : 8425e28e
|r3 : 84244e90  r2 : 14000045     r1 : 8412fdb0  r0 : 8425e28e
|Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
|Resetting CPU ...
|
|resetting ...

This issue is caused by switch from gcc 5.5 to 7.1+ as explained
in the upstream patch:

|From a768e513b07b5999a8e7d7740ac8d9da04ee7e51 Mon Sep 17 00:00:00 2001
|From: Denis Pynkin &lt;denis.pynkin@collabora.com&gt;
|Date: Fri, 21 Jul 2017 19:28:42 +0300
|Subject: [PATCH] net: Use packed structures for networking
|
|PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
|by default for '-O2':
|
|BOOTP broadcast 1
|data abort
|pc : [&lt;8ff8bb30&gt;]          lr : [&lt;00004f1f&gt;]
|reloc pc : [&lt;17832b30&gt;]    lr : [&lt;878abf1f&gt;]
|sp : 8f558bc0  ip : 00000000     fp : 8ffef5a4
|r10: 8ffed248  r9 : 8f558ee0     r8 : 8ffef594
|r7 : 0000000e  r6 : 8ffed700     r5 : 00000000  r4 : 8ffed74e
|r3 : 00060101  r2 : 8ffed230     r1 : 8ffed706  r0 : 00000ddd
|Flags: nzcv  IRQs off  FIQs off  Mode S
|
|Core reason is usage of structures for network headers without packed
|attribute.

This patch just backports the upstream change to the
uboot-fritz4040 package.

Reported-by: David Bauer &lt;mail@david-bauer.net&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>uboot-lantiq: fix compatibility with gcc7</title>
<updated>2018-09-26T18:36:32Z</updated>
<author>
<name>Martin Schiller</name>
</author>
<published>2018-09-24T12:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0b99f08a64c3c3a49b1c994a9884c6f1c8bf12a9'/>
<id>urn:sha1:0b99f08a64c3c3a49b1c994a9884c6f1c8bf12a9</id>
<content type='text'>
Backport u-boot commit 704f3acfcf55343043bbed01c5fb0a0094a68e8a to fix
compatibility with gcc7.

Signed-off-by: Martin Schiller &lt;ms@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>grub2: rebase patches</title>
<updated>2018-08-30T12:11:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-08-23T17:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a662d6f6bcdcfd42713d4f4dc2d30698e451d280'/>
<id>urn:sha1:a662d6f6bcdcfd42713d4f4dc2d30698e451d280</id>
<content type='text'>
Patch 300-CVE-2015-8370.patch was added without proper rebasing on the
version used by OpenWrt, make it apply and refresh the patch to fix
compilation.

Fixes: 7e73e9128f ("grub2: Fix CVE-2015-8370")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 9ffbe84ea49fc643f41bfdf687de99aee17c9154)
</content>
</entry>
<entry>
<title>grub2: Fix CVE-2015-8370</title>
<updated>2018-08-30T11:16:20Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2018-08-23T02:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a0569f5e812bbe27d460085d7e4430a87c55bf95'/>
<id>urn:sha1:a0569f5e812bbe27d460085d7e4430a87c55bf95</id>
<content type='text'>
This CVE is a culmination of multiple integer overflow issues that cause
multiple issues like Denial of Service and authentication bypass.

More info: https://nvd.nist.gov/vuln/detail/CVE-2015-8370

Taken from Fedora.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(cherry picked from commit 7e73e9128f6a63b9198c88eea97c267810447be4)
</content>
</entry>
<entry>
<title>uboot-kirkwood: fix malformed boot configuration</title>
<updated>2018-06-26T21:35:18Z</updated>
<author>
<name>Alberto Bursi</name>
</author>
<published>2018-06-26T19:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ce73f894691a5423e79d32b35f1b735f0bc2289a'/>
<id>urn:sha1:ce73f894691a5423e79d32b35f1b735f0bc2289a</id>
<content type='text'>
With current uboot default configuration the bootloader will
fail to start the OpenWrt firmware with the following error:
-----
unexpected character 'b' at the end of partition
Error initializing mtdparts!
incorrect device type in ubi
Partition ubi not found!
Error, no UBI device/partition selected!
Wrong Image Format for bootm command
Error occured, error code = 112
-----

If the uboot configuration is examined with printenv
I can see that mdtparts line (on a nsa310) is wrong:
-----
mtdparts=mtdparts=orion_nand:0x0c0000(uboot),
0x80000(uboot_env),0x7ec0000(ubi)bootargs_root=
----

The "bootargs_root=" that was appended to it should not be there.

Fix the issue by adding a \0 line terminator at the end of affected lines,
mimicking what is also done by uboot upstream.

This issue was detected and confirmed on a nsa310, nsa325 and
a pogoplug v4, but it's not hardware-specific, so apply the same fix
to other devices as well.

Note that the issue is with the uboot's integrated boot configuration,
which is not used unless the uboot configuration in flash is unavailable
(erased or corrupted), which happens only on first time installation,
or if the user deletes the uboot configuration when upgrading uboot.
People just upgrading from an older uboot without erasing their previous
uboot configuration stored in flash would not have noticed this issue.

Signed-off-by: Alberto Bursi &lt;alberto.bursi@outlook.it&gt;
</content>
</entry>
<entry>
<title>ar71xx: add support for OCEDO Koala</title>
<updated>2018-06-21T05:02:30Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2018-05-29T15:00:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0c4f658d58458e12a48663f1a910a0e909b7a5ee'/>
<id>urn:sha1:0c4f658d58458e12a48663f1a910a0e909b7a5ee</id>
<content type='text'>
This commit adds support for the OCEDO Koala

SOC:	Qualcomm QCA9558 (Scorpion)
RAM:    128MB
FLASH:  16MiB
WLAN1:  QCA9558 2.4 GHz 802.11bgn 3x3
WLAN2:  QCA9880 5 GHz 802.11nac 3x3
INPUT:  RESET button
LED:    Power, LAN, WiFi 2.4, WiFi 5, SYS
Serial: Header Next to Black metal shield
        Pinout is 3.3V - GND - TX - RX (Arrow Pad is 3.3V)
        The Serial setting is 115200-8-N-1.

Tested and working:
 - Ethernet
 - 2.4 GHz WiFi
 - 5 GHz WiFi
 - TFTP boot from ramdisk image
 - Installation via ramdisk image
 - OpenWRT sysupgrade
 - Buttons
 - LEDs

Installation seems to be possible only through booting an OpenWRT
ramdisk image.

Hold down the reset button while powering on the device. It will load a
ramdisk image named 'koala-uImage-initramfs-lzma.bin' from 192.168.100.8.

Note: depending on the present software, the device might also try to
pull a file called 'koala-uimage-factory'. Only the name differs, it
is still used as a ramdisk image.

Wait for the ramdisk image to boot. OpenWRT can be written to the flash
via sysupgrade or mtd.

Due to the flip-flop bootloader which we not (yet) support, you need to
set the partition the bootloader is selecting. It is possible from the
initramfs image with

 &gt; fw_setenv bootcmd run bootcmd_1

Afterwards you can reboot the device.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit e36f8b3f3980903d5cefc51fe274c19c7a0719f2)
</content>
</entry>
</feed>
