掌機 - Gaviar (小志掌機) - 如何透過U-Boot載入Image、DTB
=> setenv bootargs 'console=ttyS4,115200 earlycon=sbi root=/dev/mmcblk0p8 rw'
=> saveenv
Saving Environment to SUNXI_FLASH... Writing to redundant env... OK
=> part list mmc 0
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00012000 0x000121f7 "boot-resource"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e45
2 0x000121f8 0x000123ef "env"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e46
3 0x000123f0 0x000125e7 "env-redund"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e47
4 0x000125e8 0x000175e7 "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e48
5 0x000175e8 0x000233e7 "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e49
6 0x000233e8 0x00028b67 "recovery"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e4a
7 0x00028b68 0x0002b367 "rootfs_data"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a0085546-4166-744a-a353-fca9272b8e4b
8 0x0002b800 0x01dac7ff ""
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: a4ef03d1-5127-4495-af3e-f96b1e91a891
=> fatls mmc 0:8
5378364 Image
52407 gaviar.dtb
=> fatload mmc 0:8 0x40000000 Image
5378364 bytes read in 228 ms (22.5 MiB/s)
=> fatload mmc 0:8 0x43d00000 gaviar.dtb
52407 bytes read in 6 ms (8.3 MiB/s)
=> booti 0x40000000 - 0x43d00000
[97.774]
Starting kernel ...