linux-sunxi / sunxi-tools

A collection of command line tools for ARM devices with Allwinner SoCs.
http://linux-sunxi.org/
GNU General Public License v2.0
579 stars 421 forks source link

A133 support #207

Open parthitce opened 4 months ago

parthitce commented 4 months ago

I have a custom PCB based on A133 SoC with eMMC. Currently am trying to flash the device using sunxi-fel based on https://github.com/linux-sunxi/sunxi-tools/pull/192 and it resets the device. Also am new to the sunxi tools and still reading the documentation to get more understanding about what needs to be done.

  1. Is it possible to flash spl-pub i.e boot0 and u-boot from vendor tree using sunxi-fel or it's only possible to flash mainline version?
  2. https://github.com/linux-sunxi/sunxi-tools/pull/202#issuecomment-1824966240 @apritzel, did you managed to get this working after that point?

AFAIK the current mainline u-boot doesn't have support for A100 and A133 as well. Thanks in advance for the suggestions and comments.

apritzel commented 3 months ago
  1. sunxi-fel is mostly about booting a device, it only supports "flashing" to SPI NOR flash, not to SD card or eMMC. Its "uboot" command allows to upload both the SPL and U-Boot proper and boot that, but that only works with mainline versions of U-Boot. You can upload and execute boot0, but that won't get you very far, though this might initialise DRAM.
  2. No, I didn't do any work on the A133, it's still on the far end of my TODO list, given the SoC's age and small significance.
parthitce commented 3 months ago
  1. sunxi-fel is mostly about booting a device, it only supports "flashing" to SPI NOR flash, not to SD card or eMMC. Its "uboot" command allows to upload both the SPL and U-Boot proper and boot that, but that only works with mainline versions of U-Boot. You can upload and execute boot0, but that won't get you very far, though this might initialise DRAM.

Yeah, tried attempting it and still not successful.

2. No, I didn't do any work on the A133, it's still on the far end of my TODO list, given the SoC's age and small significance.

Ok, thanks.