en:bpi-r3:uboot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:bpi-r3:uboot [2022/10/10 07:11] – [building] frank | en:bpi-r3:uboot [2023/01/29 19:18] – [writing emmc] frank | ||
---|---|---|---|
Line 23: | Line 23: | ||
sudo dd if=build/ | sudo dd if=build/ | ||
- | ATF branch contains gpt file for flashing first and script to create basic image with bootchain | + | ATF branch contains gpt file (gpt_sdmmc_100m6g.img) |
+ | |||
+ | ./build.sh createimg | ||
===== booting kernel ===== | ===== booting kernel ===== | ||
Line 351: | Line 353: | ||
mmc bootbus 0 0 0 0 | mmc bootbus 0 0 0 0 | ||
+ | |||
+ | |||
+ | instead of writing the gpt image file you can bootup a linux with initrd | ||
+ | |||
+ | BPI-R3> run useusb | ||
+ | BPI-R3> setenv initrd rootfs.cpio.zst | ||
+ | BPI-R3> setenv fit bpi-r3.itb | ||
+ | BPI-R3> run newboot | ||
+ | |||
+ | and create gpt like i do it for [[https:// | ||
+ | |||
+ | < | ||
+ | sudo sgdisk -o ${LDEV} | ||
+ | #sudo sgdisk -a 1 -n 1:34:8191 -A 1:set:2 -t 1:8300 -c 1:" | ||
+ | sudo sgdisk -a 1 -n 1:0:33 -A 1:set:2 -t 1:8300 -c 1:" | ||
+ | sudo sgdisk -a 1 -n 2: | ||
+ | sudo sgdisk -a 1 -n 3: | ||
+ | sudo sgdisk -a 1 -n 4: | ||
+ | sudo sgdisk -a 1024 -n 5: | ||
+ | sudo sgdisk -a 1024 -n 6: | ||
+ | </ | ||
===== chainload uboot ===== | ===== chainload uboot ===== | ||
en/bpi-r3/uboot.txt · Last modified: 2024/04/07 09:39 by frank