You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
633 B
633 B
How to use u-boot to boot rCore in Raspberry Pi
Tested under QEMU.
Instructions:
- Build u-boot
- Download aarch64 toolchain and u-boot source
make rpi_3_defconfig ARCH=arm CROSS_COMPILE=aarch64-elf-
make all ARCH=arm CROSS_COMILE=aarch64-elf-
- A file named
u-boot.bin
should be generated
- Use u-boot to run rCore
make run arch=aarch64 u_boot=/path/to/u-boot.bin
- In u-boot, enter following commands:
mmc read 0x1000000 0 ${nblocks}
, where ${nblocks} can be probed if you enter a large enought numberbootelf -p 0x1000000
- rCore should boot now