[PATCH 0/6] rb532: update to kernel 5.4

Raylynn Knight rayknight at me.com
Tue Sep 1 02:15:10 EDT 2020


On Aug 31, 2020, at 7:28 PM, Adrian Schmutzler <mail at adrianschmutzler.de> wrote:
> 
> Hi again,
> 
>> -----Original Message-----
>> From: Raylynn Knight [mailto:rayknight at me.com]
>> Sent: Montag, 24. August 2020 10:00
>> To: Adrian Schmutzler <freifunk at adrianschmutzler.de>
>> Cc: OpenWrt Development List <openwrt-devel at lists.openwrt.org>;
>> roman at advem.lv
>> Subject: Re: [PATCH 0/6] rb532: update to kernel 5.4
>> 
>> Result from using sysupgrade:
>> 
>> ------------------------------
>> sysupgrade successful
>> umount: can't unmount /dev: Resource busy
>> umount: can't unmount /tmp: Resource busy [  298.546770] rc32434_wdt:
>> Stopped watchdog timer [  298.551917] reboot: Restarting system
>> 
>> 
>> RouterBOOT booter 2.18
>> 
>> RouterBoard 532A
>> 
>> CPU frequency: 399 MHz
>>  Memory size:  64 MB
>> 
>> Press any key within 4 seconds to enter setup....
>> loading kernel from nand... OK
>> setting up elf image... OK
>> jumping to kernel code
>> ------------------------------
>> 
>> System just hangs at this point.  I let it set for more than 5 minutes.
>> 
>> Result when attempting to boot openwrt-rb532-combined-squashfs.bin
>> from CompactFlash card:
>> 
>> ------------------------------
>> RouterBoard 532A
>> 
>> CPU frequency: 399 MHz
>>  Memory size:  64 MB
>> 
>> Press any key within 4 seconds to enter setup....
>> Booting CF
>> Loading kernel... done
>> setting up elf image... kernel out of range kernel loading failed
>> 
>> 
>> RouterBOOT booter 2.18
>> 
>> RouterBoard 532A
>> 
>> CPU frequency: 399 MHz
>>  Memory size:  64 MB
>> 
>> Press any key within 4 seconds to enter setup.
>> ------------------------------
>> 
>> For what it's worth the current snapshot build from Mon Aug 24 04:19:14
>> 2020 behaves the same way.
>> 
>> I was able to restore some functionality by booting the openwrt-19.07.3-
>> rb532-combined-squashfs.bin from CompactFlash and using sysupgrade.
>> Even this image has issues as I can login with Luci, but the Status page hangs
>> with "Loading view….”.  Functionality from command line appears OK.  No
>> issues appear with release 18.06.8
> 
> Thanks for testing all of this.
> Unfortunately, it doesn't look like there is a cheap solution for this problem.
> 
> Assuming this problem exists in master before the 5.4 bumps as you report, and taking into account the age of the device/target, the fact that it's a single-device target, and the (very low) activity besides my bump, I decided to not invest further time and drop this together with the other 4.14 targets. Sorry.
> 
> Best
> 
> Adrian

Understandable.  I’m a little overworked right now, or I would do some more research on my part to see if I could discover exactly where the breakage occurred.   Right now 18.06.8 appears to function on both the RB532 and the RB532A.  However I’m not using them for anything useful, they are just a couple of the many devices I have collected.

Ray


>> 
>> 
>> Ray
>> 
>> 
>>> On Aug 22, 2020, at 7:07 AM, Adrian Schmutzler
>> <freifunk at adrianschmutzler.de> wrote:
>>> 
>>> ** I do not own this device, please test! **
>>> 
>>> This updates rb532 from kernel 4.14 to 5.4. Based on the code this was
>>> actually quite easy, let's see whether it works on the devices.
>>> 
>>> Adrian Schmutzler (6):
>>> rb532: copy files from 4.14 to 5.4
>>> rb532: refresh patches for kernel 5.4
>>> rb532: refresh config for kernel 5.4
>>> rb532: use 5.4 as default kernel
>>> rb532: use vendor_model scheme
>>> rb532: determine sysupgrade-* directory for upgrade automatically
>>> 
>>> target/linux/rb532/Makefile                   |   2 +-
>>> .../rb532/base-files/lib/preinit/01_sysinfo   |   2 +-
>>> .../rb532/base-files/lib/upgrade/platform.sh  |  11 +-
>>> target/linux/rb532/config-5.4                 | 218 ++++++++++++++++++
>>> target/linux/rb532/image/Makefile             |   7 +-
>>> .../rb532/patches-5.4/001-cmdline_hack.patch  |  20 ++
>>> .../004-rb532-fix-partition-info.patch        |  17 ++
>>> 7 files changed, 269 insertions(+), 8 deletions(-) create mode 100644
>>> target/linux/rb532/config-5.4 create mode 100644
>>> target/linux/rb532/patches-5.4/001-cmdline_hack.patch
>>> create mode 100644
>>> target/linux/rb532/patches-5.4/004-rb532-fix-partition-info.patch
>>> 
>>> --
>>> 2.20.1
>>> 
>>> 
>>> _______________________________________________
>>> openwrt-devel mailing list
>>> openwrt-devel at lists.openwrt.org
>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel




More information about the openwrt-devel mailing list