,---- [ progress :| ]
| Found something odd:
|---------------------
| When jumping pins for FEL mode all systems think the usb device
| is not an allwinner device. In fastboot mode allwinner is shown,
| but shortly after it disconnects.
|
| FEL mode shows:
| Onda (unverified) V972 tablet in flashing mode [02B3]
|
| I flashed the chip and its working in a very basic way. No wifi
| or bluetooth, but at least its working. The root file system is
| not the correct size to build the entire system like an original
| chip. Yocto root file system is 2GB where a stock CHIP has a 4GB
| root file system.
|
| I used: Poky (Yocto Project Reference Distro) 1.8.2 chip Still
| testing. I used Ubuntu 18.0.4 LTS VM running in VirtualBox.
|
`----
Uhg .. I don't want to stop working on this and get my exercise
(bike ride), there is a wind advisory, and its freaken cold out.
If I don't go now I'll not go today and I'll feel like crap.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
,----------------------------------------------------,
| [][][][][] [][][][][] [][][][] [][__] [][][][] |
| |
| [][][][][][][][][][][][][][_] [][][] [][][][] |
| [_][][][][][][][][][][][][][ | [][][] [][][][] |
| [][_][][][][][][][][][][][][]|| [] [][][][] |
| [__][][][][][][][][][][][][__] [][][] [][][]|| |
| [__][________________][__] [__][]|| |
`----------------------------------------------------'
Art by Seal do Mar
%{---------------------------------------------------------------+
| |
| -------------------------------------------------- |
| > chip-tools$ ./chip-flash-chip.sh ~/yocto/images/ |
| -------------------------------------------------- |
| |
| Images directory: /home/farts/yocto/images/ |
| == Preparing u-boot == |
| 0+1 records in |
| 1+0 records out |
| 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0184158 s, 228 MB/s |
| OK |
| == Preparing u-boot script == |
| Image Name: u-boot script |
| Created: Fri Jan 31 12:33:06 2025 |
| Image Type: ARM Linux Script (uncompressed) |
| Data Size: 97 Bytes = 0.09 KiB = 0.00 MiB |
| Load Address: 00000000 |
| Entry Point: 00000000 |
| Contents: |
| Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB |
| OK |
| == Waiting for CHIP connected and jumpered in FEL mode == |
| OK |
| == Upload spl to SRAM and execute it == |
| OK |
| == Upload u-boot to SRAM == |
| OK |
| == Upload u-boot script to SRAM == |
| OK |
| == Execute the main u-boot binary == |
| OK |
| == Waiting for CHIP connected and jumpered in FEL mode == |
| ...........................OK |
| == Read NAND info == |
| OK |
| == Preparing spl == |
| 48+0 records in |
| 48+0 records out |
| 49152 bytes (49 kB, 48 KiB) copied, 0.00432904 s, 11.4 MB/s |
| 48+0 records in |
| 48+0 records out |
| 49152 bytes (49 kB, 48 KiB) copied, 0.00407118 s, 12.1 MB/s |
| 48+0 records in |
| 48+0 records out |
| 49152 bytes (49 kB, 48 KiB) copied, 0.00495986 s, 9.9 MB/s |
| 48+0 records in |
| 48+0 records out |
| 49152 bytes (49 kB, 48 KiB) copied, 0.00414821 s, 11.8 MB/s |
| OK |
| == Preparing u-boot == |
| 0+1 records in |
| 1+0 records out |
| 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0197579 s, 212 MB/s |
| OK |
| == Preparing u-boot script == |
| Image Name: u-boot script |
| Created: Fri Jan 31 12:33:48 2025 |
| Image Type: ARM Linux Script (uncompressed) |
| Data Size: 746 Bytes = 0.73 KiB = 0.00 MiB |
| Load Address: 00000000 |
| Entry Point: 00000000 |
| Contents: |
| Image 0: 738 Bytes = 0.72 KiB = 0.00 MiB |
| OK |
| == Waiting for CHIP connected and jumpered in FEL mode == |
| OK |
| == Upload spl to SRAM and execute it == |
| OK |
| == Upload spl to SRAM == |
| OK |
| == Upload u-boot to SRAM == |
| OK |
| == Upload u-boot script to SRAM == |
| OK |
| == Upload ubi to SRAM == |
| 100% [================================================] 46137 |
| kB, 479.6 kB/s |
| OK |
| == Execute the main u-boot binary == |
| OK |
| == Waiting for CHIP to flash and boot == |
| ........................OK |
| == Flashing completed successfully == |
+---------------------------------------------------------------%}
------------------------------------------------------------
I had to go back to the VM and reconnect the USB device (the
CHIP), otherwise it would not finish flashing due to a timeout
somewhere in the script > chip-flash-chip.sh
------------------------------------------------------------
I found a post on reddit who sent a boot image to his chip via
UART and U-boot.
This gave me an idea. I have another chip, I can use to copy the
kernel and other boot items off of and attempt to load
everything via UART.
------------------------------------------------------------
Lots to learn here:
------------------
1) Find a CHIP server image.
2) Attempt to flash using server image?