[OpenWrt-Devel] [PATCH 1/2] gemini: Add copy-kernel utility package

Linus Walleij linus.walleij at linaro.org
Fri Aug 9 12:57:22 EDT 2019


On Wed, Jul 17, 2019 at 7:23 PM Linus Walleij <linus.walleij at linaro.org> wrote:

> This package just contains a small Gemini-only assembler
> bootstrap loop to copy the kernel from the two fragments
> (previously zImage at 0x01600000 and initramdisk at 0x00800000)
> into one big zImage of up to 8 MB at 0x00400000.
>
> It will be built on demand from the Gemini image Makefile.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Any comments on these two patches?

I have tested on both ITian Square One and the SL93512r
reference design, and I am pretty confident that the
Raidsonic 4220B "IcyBox" will also work with this approach,
but of course it is even nicer if someone tests it.

I do not flash my devices from the composite firmware
image actually: I use the RedBoot menu to flash
each of the files: "kernel", "ramdisk" and "application"
from the constituents. I think the composite firmware
image only works from the web-based upgrade utility,
the RedBoot "upgrade firmware" option is super dangerous
and will erase the whole flash and overwrite it with
whatever you send in.

I just extract the firmware files:
tar xvf openwrt-gemini-storlink_sl93512r-squashfs-factory.bin
then I flash
hddapp.tgz
rd.gz
zImage



More information about the openwrt-devel mailing list