Hi,
I am using PSP release from TI81XXPSP_04.04.00.01 when I cross compiled and flashed 1st and 2nd stage botaloader following this link http://processors.wiki.ti.com/index.php/UBIFS_BCH8_Implementation#Flashing_from_Kernel but when done I see it gets hung while reading the 2nd stage bootloader,
U-Boot 2010.06-dirty (Oct 16 2014 - 12:02:11)
TI8148-GP rev 2.1
ARM clk: 600MHz
DDR clk: 400MHz
DRAM: 2 GiB
NAND: HW ECC BCH8 Selected
256 MiB
Using default environment
The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x20000, size 0x40000
I have also added CONFIG_BOOTDELAY to 3 and the manually tried this command 'nand read 0x81000000 0x20000 0x40000' I see its getting hung here, I dont have a JTAG to see where exactly this happens but how do I solve this ?
I have similar post here http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/352245.aspx but not sure its solved ? If I flash the PSP images it reads properly and u-boot comes up.
But I get following errors:
NAND read: device 0 offset 0x20000, size 0x40000
ECC: uncorrectable.
NAND read from offset 20000 failed -74
262144 bytes read: ERROR
So to see that it really wrote the image I tried to dump, and the contents are present
nanddump -f dump -n -l 0x40000 -p /dev/mtd1
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00040000...
# less dump
0x00000000: 12 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5
0x00000010: 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5
0x00000020: 20 01 70 80 80 01 70 80 e0 01 70 80 40 02 70 80
0x00000030: a0 02 70 80 00 03 70 80 60 03 70 80 78 56 34 12
0x00000040: 00 00 70 80 00 00 70 80 cc c7 72 80 d4 4f 76 80
0x00000050: 00 00 0f e1 1f 00 c0 e3 d3 00 80 e3 00 f0 29 e1
0x00000060: 68 00 4f e2 2c 10 1f e5 01 00 50 e1 07 00 00 0a
0x00000070: 34 20 1f e5 34 30 1f e5 02 20 43 e0 02 20 80 e0
0x00000080: f8 07 b0 e8 f8 07 a1 e8 02 00 50 e1 fb ff ff da
0x00000090: 58 00 1f e5 0a 09 40 e2 80 00 40 e2 0c d0 40 e2
0x000000a0: 07 d0 cd e3 64 00 1f e5 64 10 1f e5 00 20 a0 e3
0x000000b0: 00 20 80 e5 01 00 50 e1 04 00 80 e2 fb ff ff 1a
0x000000c0: 15 0f 07 ee 9a 0f 07 ee 95 0f 07 ee 04 f0 1f e5
0x000000d0: 48 05 70 80 00 00 a0 e3 17 0f 08 ee 15 0f 07 ee
0x000000e0: d5 0f 07 ee 9a 0f 07 ee 95 0f 07 ee 10 0f 11 ee
0x000000f0: 02 0a c0 e3 07 00 c0 e3 02 00 80 e3 02 0b 80 e3
0x00000100: 01 0a 80 e3 10 0f 01 ee 0e c0 a0 e1 ac 00 00 eb
0x00000110: 0c e0 a0 e1 0e f0 a0 e1 00 f0 20 e3 00 f0 20 e3
0x00000120: e4 d0 1f e5 0a d9 4d e2 88 d0 4d e2 00 e0 8d e5
0x00000130: 00 e0 4f e1 04 e0 8d e5 13 d0 a0 e3 0d f0 69 e1
0x00000140: 0f e0 a0 e1 0e f0 b0 e1 48 d0 4d e2 ff 1f 8d e8
0x00000150: 14 21 1f e5 0a 29 42 e2 88 20 42 e2 0c 00 92 e8
0x00000160: 48 00 8d e2 34 50 8d e2 0e 10 a0 e1 0f 00 85 e8
How do I fix it ? Please help on this!
Thanks & Regards
Mike