■Steps:
- Fetching the source code from https://github.com/tesla-android/android-raspberry-pi
- Execute commands: ./unfold_aosp.sh
- Execute commands: ./build_rpi4.sh , and resolve compilation errors
- View compiled products in the out directory
- /android-raspberry-pi-main/aosptree/out/target/product/gd_rpi4/sdcard.img
- Use BalenaEtcher to flash sdcard.img to SD card
- Wait for the flashing to complete, insert the SD card into the Raspberry Pi and power on
- rpi4 hardware startup failed,error message ↓
#Usage:
cp [.b, .w, .l, .q] source target count
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...
BoRead start4x.elf bytes 3004808 hnd 0x2328
Read fixup4x.dat bytes 8425 hnd 0x3a2a
0x00c03115 0x00000000 0x00001fff
MEM GPU: 76 ARM: 948 TOTAL: 1024
Starting start4x.elf @ 0xfec00200 partition 0
NG.txt