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

Adrian Schmutzler mail at adrianschmutzler.de
Mon Aug 24 06:46:19 EDT 2020


Hi,

> -----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
> 

Changes between 19.07 and master with 4.14 are only cosmetic. I don't see a relevant difference from the code.

We just discussed this in IRC and the (only) likely idea we had was NAND wear issues, i.e. some bad blocks that were not recognized during flashing.

It would help tremendously if the same could be checked on one or two additional devices.

Best

Adrian

> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20200824/376c2baa/attachment.sig>


More information about the openwrt-devel mailing list