ATH79: zboot and kernel parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have this Routerboard 493g from Mikrotik, thanks to the
OpenWrt-provided patches Linux-3.14.9 runs fine on it.

On top of that, I have added the necessary things to allow for zboot and
indeed it can boot a compressed kernel. The only problem with that is
for some reason the kernel parameters passed on by the boot loader do
not make it into the kernel.

I have tried printing the parameters from inside decompress.c by
mimicking the way head.S stores them for later access from inside C
code, but had no luck so far. For whatever reason, the variables'
contents seem to be zero.

Do you maybe have an idea what could be the culprit difference in
between an uncompressed kernel image and the decompressor that makes the
registers a0 to a4 inaccessible? Mostly due to my practically
non-existing knowledge about assembly I am stuck at this point.

Best wishes, Phil


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux