-
Notifications
You must be signed in to change notification settings - Fork 0
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
Flashing u-boot to SDCard #2
Comments
Well, I think I can answer myself: I do need SPL binary. The real question is: How can we build this SPL file? |
@atilag great work getting that far! Would you mind posting your diff for going straight into fastboot, even if its only a quick hack ? And hopefully I can help get this a bit further, thanks to: linux-sunxi/u-boot-sunxi#63 you need to build using:
now you also need to get rid of the "//" comments in the include files as discovered by the same guy: heres my diff: BUT then I still hit the following error:
|
I have a bad feeling that the u-boot in the nand on the device uses the Allwinner propreitary boot0, boo1, boot.axf that then load u-boot as per: http://linux-sunxi.org/Boot_Process I'm hoping @flatfish-fox will tell us I'm wrong at that it is possible to build the u-boot spl from the code in the rhombus repo? |
@flatfish-fox Hi so we seem to be stuck now as there does yet seem to be a working SPL for the A31, at least going by this attempt: https://groups.google.com/d/msg/linux-sunxi/MQKxPOxTnpo/jYDDP7-6CNYJ Any help would be most appreciated. |
To resolve the "bricked" issue, please refer to the following link: |
Ok, so I applied the patch to the correct u-boot repositry tag, modified some configuration parameters to force u-boot get into fastboot mode, and built for sun6i hardware successfully.
The result of the compilation creates a u-boot.bin (and other files we don't care so far).
I wrote this file to a SDCard using:
dd if=/dev/zero of=/dev/sdb1 bs=1M count=1 (clear some bits in the SDCard)
dd if=u-boot.img of=/dev/sdb1 bs=1024 seek=8 (write the bootloader into the SDCard)
After that, I have inserted the SDcard into the tablet and booted into FEL mode by pressing and holding Volume - and power buttons.... but it looks like it never reaches my sdcard, it justs boots into FEL mode and stay there.
I read here http://linux-sunxi.org/Bootable_SD_card#Bootloader , that another file should have been created after building: spl/sunxi-spl.bin, but it didn't. Is that ok?
Does u-boot.bin file enough in order to make a bootable SDCard?
Thanks!!
The text was updated successfully, but these errors were encountered: