Hi, Professional Devel Support of Sel4,

We are porting Sel4 with RPi 3B+, but we fail to boot RPi 3B+ with Sel4 
successfully.
We cann't find the problem, please help us.

we follow the Steps:
1. Use Raspberry Pi Imager v1.4 to burn the operation system (Raspberry Pi OS 
Lite 32bit) on SD card, and it works well with hardware of RPi 3B+.
2. Build Sel4test-manifest:
 2.1 clone the repo of https://github.com/seL4/sel4test-manifest.git
  2.2 build image with ../init-build.sh -DPLATFORM=rpi3 -DAARCH32=1
  2.3 the image file (sel4test-driver-image-arm-bcm2837) is produced 
successfully.
3. Following the SD card setup, Copy the following files to root direcctory of 
SD.
  3.1 sel4test-driver-image-arm-bcm2837
  3.2 bootcode.bin and start.elf from 
https://github.com/raspberrypi/firmware/tree/master/boot
 3.3 u-boot.bin downloaded from 
https://sel4.systems/Info/Docs/u-boot-working-rpi3-32bit-v2017.11.bin
 3.4 Add enable_uart=1 and kernel=u-boot.bin to the bottom of config.txt
 3.5 uboot.env, we fail to find the file, so we don't use the file. if you know 
the step to produce uboot.env, please lead us.
4. Re-insert SD into the RPi3B+, and power the RPi3B+ on, the RPi3B+ shows the 
U-Boot successfully.
 4.1 sel4test-driver-image-arm-bcm2837 image file’s name printed out with the 
command of "fatls mmc 0"
  4.2 fatload the image with command of "fatload mmc 0 0x10000000 
sel4test-driver-image-arm-bcm2837", the result:
      reading sel4test-driver-image-arm-bcm2837
      4791000 bytes read in 406 ms (11.3 MiB/s)
 4.3 bootelf 0x10000000, the result:
            CACHE: Misaligned operation at range [0082a000, 0082a034]
            CACHE: Misaligned operation at range [0082b000, 00834fcc]
            CACHE: Misaligned operation at range [00834fcc, 00835b07]
            CACHE: Misaligned operation at range [00c9be40, 00c9be9c]
            CACHE: Misaligned operation at range [00c9be9c, 00c9bec8]
             ## Starting application at 0x0082a000 ...

Then, RPi3B+ is blocked and without anything else to display !

----
Thanks,
Alen
肖月振(萧琒)
阿里云事业群-IOT事业部-飞天六十四部
电话:13391191786
邮箱:[email protected]

_______________________________________________
Devel mailing list
[email protected]
https://sel4.systems/lists/listinfo/devel

Reply via email to