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

Re: Re: Status of Debian on QNAP



* Karsten Sperling <karsten@sperling.co.nz> [2020-12-16 12:06]:
> By pinning lvm to the stretch version I got the initrd to just below 5M, so
> it would fit into a combined RootFS1+RootFS2 partition. It looks like on
> the u-boot side I would just need to bump the initrd size from 0x3fffff
> to 0x4fffff in the cp command and the kernel command line, but is there a
> way to override the partition table the kernel uses? The TS-209 doesn't use
> a device tree.

You'd have to edit arch/arm/mach-orion5x/ts209-setup.c and compile
your own kernel, but I'm not sure it's worth it.

OTOH, since RootFS2 is right behind RootFS1, you could manually split
the ramdisk and write the first 4 MB to RootFS1 and the remaining 1 MB
to RootFS2.  This way, you could keep the Debian kernel and just need
to change u-boot.

-- 
Martin Michlmayr
https://www.cyrius.com/


Reply to: