PINE64
boot option document confusion - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: boot option document confusion (/showthread.php?tid=5720)



boot option document confusion - gene83 - 02-15-2018

I managed to get a decent printout of the boot option document, but what I read is very confusing.
In booting from an sd card, a list of addresses and what goes where seems quite grossly at odds when totalled with a simple calculator.

For instance, the kernel image (I am assuming is vmlinux,) which in the version v4.14I.15-rt13 I just built, is 147871544 bytes, orĀ 0x8D05738, and would extend quite some megabytes past the location that begins the file system image.

Do I have the wrong document, or what do I not understand?

Gene83


RE: boot option document confusion - xalius - 02-16-2018

Which document are you referring to?


RE: boot option document confusion - gene83 - 02-16-2018

The link is:

<http://opensource.rock-chips.com/wiki_Boot_option>

which describes how to build a bootable SD/TF card, Seems there are 4 main ways to boot these things so I'm trying to follow the scenario as shown under the "Boot from SD/TF Card" Reduced to keep the gfx from overflowing, it is at about the end of page 5 of 7 so its some scroll down from the top of this link to get there..

Thanks xalius, gene83


RE: boot option document confusion - xalius - 02-16-2018

You don't have to put your initrd/kernel/dtb directly on the image, u-boot can load those from a partition like /boot or directly from your rootfs.
Have you looked at how ayufan builds the linux images?

https://github.com/ayufan-rock64/linux-build


RE: boot option document confusion - gene83 - 02-16-2018

No, I've not seen that xalius, but thanks for the link, I grabbed the zip and will study that carefully.

Thanks, gene83