agherzan / meta-chip

Yocto BSP layer for C.H.I.P. boards
MIT License
15 stars 21 forks source link

Chip Pro - Clarification #15

Open myronww opened 7 years ago

myronww commented 7 years ago

I tried following the instructions in the readme. Everything worked fine. The build completed and I was able to flash the image to my chip pro. However, it does not boot.

Does this work with the Chip Pro. If not then maybe you could have a note indicating that it doesn't.

I tried a reflash and here is the serial output.

CPU:   Allwinner A13 (SUN5I)
I2C:   ready
DRAM:  256 MiB
NAND:  512 MiB
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:   serial
Err:   serial
Net:   usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
## Error: "test_fastboot" not defined
(FEL boot)
## Executing script at 43100000
Erasing NAND

NAND erase.chip: device 0 whole chip
Skipping bad block at  0x00000000                                          
Skipping bad block at  0x00040000                                          
Skipping bad block at  0x00400000                                          
Skipping bad block at  0x00440000                                          
Skipping bad block at  0x09b00000                                          
Skipping bad block at  0x105c0000                                          
Skipping bad block at  0x18000000                                          
Skipping bad block at  0x18040000                                          
Skipping bad block at  0x1b9c0000                                          
Skipping bad block at  0x1ba40000                                          
Erasing at 0x1ffc0000 -- 100% complete.
OK
Writing SPL (with ECC) to NAND address 0x00000000

NAND write:  852992 bytes written: OK
Writing SPL (with ECC) to NAND address 0x400000

NAND write:  852992 bytes written: OK
Writing UBoot image to address 0x800000

NAND write: device 0 offset 0x800000, size 0x9711e
 618782 bytes written: OK
Enabling Splash
Setting Video Mode
Saving default environment
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xfc0000 -- 100% complete.
Writing to NAND... OK
Writing UBI rootfs to NAND address 0x1000000

NAND write: device 0 offset 0x1000000, size 0xa000000
NAND write to offset 4fc0000 failed -5
 66584576 bytes written: ERROR
===========================================================
Flashing Complete. Please power down and disable FEL mode.
===========================================================
agherzan commented 7 years ago

Added comment block to avoid useless markdown.

I don't think anybody tested the chip pro version - and that includes me. Based on your findings it seems indeed broken. Would you be able to push a PR for the README to state this?