Flash problem for Starting kernel...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash problem for Starting kernel...

1,641 Views
perumandlasairam1064
Contributor I

Hi Experts,

we are using LS1043A Custom board. we used yocto bitbake and  using TFA Board BringUp is completed upto Starting Kernel.. . Now our problem is when I dump kernel file, root file and dtb file to DDR it is working... But when I program same through flash its halts at some point in dtb.

Hit any key to stop autoboot: 10  9  0 
=> tftp 0x81000000 uImage_2_12
0
   - 0 'fm1-mac3'
   - found
Trying fm1-mac4
fm1-mac4 Waiting for PHY auto negotiation to complete......... TIMEOUT !
fm1-mac4: Could not initialize
FAIL
Trying fm1-mac3
 memac_set_interface_mode, if_mode = 1006
 memac_set_interface_mode, if_status = b000
MAC IF mode 8, speed 100, link 1
Using fm1-mac3 device
TFTP from server 192.168.20.54; our IP address is 192.168.20.110
Filename 'uImage_2_12'.
Load address: 0x81000000
Loading: *#################################################################
#################################################################
#########
2.6 MiB/s
done
dev=Net, devnr=, path=uImage_2_12, buffer=0000000081000000, size=16e0240
Wrong FIT format: not a flattened device tree (err=-9)
- not remembering image
Bytes transferred = 23986752 (16e0240 hex)
=> <INTERRUPT>
=> protect off 0x64000000 +16e0240
Un-Protected 184 sectors
=> erase 0x64000000 +16e0240
 
.............................................................................
done
Erased 184 sectors
=> cp.b 0x81000000 0x64000000 16e0240
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> tftp 0x81000000 test_serial_i2c_LB_TX
Trying fm1-mac3
 memac_set_interface_mode, if_mode = 1006
 memac_set_interface_mode, if_status = b000
MAC IF mode 8, speed 100, link 1
Using fm1-mac3 device
TFTP from server 192.168.20.54; our IP address is 192.168.20.110
Filename 'test_serial_i2c_LB_TX'.
Load address: 0x81000000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########
2.6 MiB/s
done
dev=Net, devnr=, path=test_serial_i2c_LB_TX, buffer=0000000081000000, size=29fd4e6
Wrong FIT format: not a flattened device tree (err=-9)
- not remembering image
Bytes transferred = 44029158 (29fd4e6 hex)
=> 29fd4e6<INTERRUPT>
=> protect off 0x66000000 +29fd4e6
Un-Protected 336 sectors
=> erase 0x66000000  +29fd4e6
.................................................................................................................................................... 
done
Erased 336 sectors
=> cp.b 0x81000000 0x66000000  29fd4e6
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> tftp 0x81000000 fsl-ls1043a-rdb-sdk_2_12.dtb
Trying fm1-mac3
 memac_set_interface_mode, if_mode = 1006
 memac_set_interface_mode, if_status = b000
MAC IF mode 8, speed 100, link 1
Using fm1-mac3 device
TFTP from server 192.168.20.54; our IP address is 192.168.20.110
Filename 'fsl-ls1043a-rdb-sdk_2_12.dtb'.
Load address: 0x81000000
Loading: *##
2.9 KiB/s
done
dev=Net, devnr=, path=fsl-ls1043a-rdb-sdk_2_12.dtb, buffer=0000000081000000, size=4aff
Wrong FIT format: no description
- not remembering image
Bytes transferred = 19199 (4aff hex)
=> protect off 0x63000000 +4aff
Un-Protected 1 sectors
=> erase 0x63000000 +4aff
 
. done
Erased 1 sectors
=> cp.b 0x81000000 0x63000000  4aff
Copy to Flash... 9....8....7....6...done
=> bootm  0x64000000 0x66000000  0x63000000
## Booting kernel from Legacy Image at 64000000 ...
   Image Name:   Kernel Image
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    23986688 Bytes = 22.9 MiB
   Load Address: 84080000
   Entry Point:  84080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 66000000 ...
   Image Name:   Ramdisk Image
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    44029094 Bytes = 42 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Wrong FIT format: no description
## Flattened Device Tree blob at 63000000
   Booting using the fdt blob at 0x63000000
   Loading Kernel Image
   Using Device Tree in place at 0000000063000000, end 0000000063017afe
WARNING: could not set bootargs FDT_ERR_NOSPACE.
ERROR: /chosen node create failed
 - must RESET the board to recover.
 
FDT creation failed!
resetting ...
 
 
I am attaching two log file one from DDR output and One from Flash output(Problem case.)
 
Thank you.
 
0 Kudos
Reply
1 Reply

1,524 Views
yipingwang
NXP TechSupport
NXP TechSupport

It seems that there is problem with the format of your dtb file.

Please use the default dts file to do verification.

0 Kudos
Reply