Help me understand the boot up process
I'm obviously missing something fundamental here.

I built an image with buildroot which creates a u-boot-tpl-spl.img, a u-boot.itb file and a root partition

        image = "u-boot-tpl-spl.img"
        offset = 32768 # 512 * 0x40 from start of sd card

        image = "u-boot.itb"
        offset = 262144 # 512 * 0x200 from start of sd card

        bootable = "yes"
        image = "rootfs.ext2"

In the rootfs partition there's a file called /boot/extlinux.conf which has the following

label rock64-buildroot
  kernel /boot/Image
  devicetree /boot/rk3328-rock64.dtb
  append console=ttyS2,1500000n8 root=/dev/mmcblk0p1 ro rootwait

This boots up and all is good.  However, I'm wondering why I can't just replace /boot/Image and /boot/rk3328-rock64.dtb (and /lib/modules/*) with the one from slack (for example) and have that boot up.

When I tried, it didn't find /boot/Image and tried to boot off the network.

What am I missing here?

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting a MAC on Rock64 U-Boot kiriakos 2 1,982 03-23-2021, 04:51 AM
Last Post: kiriakos
  Boot from USB 3.0 with hub Turbo 0 1,170 12-20-2020, 02:24 PM
Last Post: Turbo
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 3 3,662 08-16-2020, 07:42 AM
Last Post: aclaret
  Unable to boot armbian fchazal 2 2,366 05-19-2020, 06:43 PM
Last Post: Rocklobster
  Rock64s will not boot any OS camosoul 2 2,056 05-19-2020, 06:38 PM
Last Post: Rocklobster
Brick Rock64 stuck in boot, please help! Malmgren 7 5,421 11-05-2019, 07:02 AM
Last Post: Malmgren
Question [SOLVED] Alpine Linux won't boot rock7 1 3,464 10-22-2019, 04:30 PM
Last Post: rock7
  gstreamer unable to process dvbsrc from ATSC tuner dongle grkblood13 1 1,905 08-31-2019, 09:01 PM
Last Post: grkblood13
  Forcing u-boot to detect USB3 storage jandastroy 8 7,077 04-02-2019, 10:06 PM
Last Post: t4_4t
  Consistent boot from SSD? Is it possible? SirRyanTheGeek 1 1,752 04-02-2019, 12:28 PM
Last Post: SirRyanTheGeek

Forum Jump:

Users browsing this thread: 1 Guest(s)