Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sdcard.img generated by the build fails to start on the raspberry pi4 hardware #41

Open
sfdasdfasdffffffffffffff opened this issue Oct 15, 2024 · 4 comments

Comments

@sfdasdfasdffffffffffffff
Copy link

sfdasdfasdffffffffffffff commented Oct 15, 2024

■Steps:

  1. Fetching the source code from https://github.com/tesla-android/android-raspberry-pi
  2. Execute commands: ./unfold_aosp.sh
  3. Execute commands: ./build_rpi4.sh , and resolve compilation errors
  4. View compiled products in the out directory
  5. /android-raspberry-pi-main/aosptree/out/target/product/gd_rpi4/sdcard.img
  6. Use BalenaEtcher to flash sdcard.img to SD card
  7. Wait for the flashing to complete, insert the SD card into the Raspberry Pi and power on
  8. 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

@sfdasdfasdffffffffffffff sfdasdfasdffffffffffffff changed the title The built image cannot be started The image generated by build cannot be started Oct 15, 2024
@sfdasdfasdffffffffffffff sfdasdfasdffffffffffffff changed the title The image generated by build cannot be started The sdcard.img generated by the build fails to start on the raspberry pi4 hardware Oct 15, 2024
@sfdasdfasdffffffffffffff
Copy link
Author

@mikegapinski
Can you help me look into this issue?

@lcy0828
Copy link

lcy0828 commented Nov 22, 2024

I also encountered this problem, have you fixed it?

@lcy0828
Copy link

lcy0828 commented Nov 22, 2024

@sfdasdfasdffffffffffffff
Copy link
Author

I also encountered this problem, have you fixed it?
@lcy0828
Are you encountering compilation errors?
After resolving compilation errors, did rpi4 fail to start?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants