Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: How to matching the ECC type between kernel and u-boot (MLO)

$
0
0
Hi all
I am using TI platform for AM335x, and download SDK from the following URL
http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/06_00_00_00/index_FDS.html
The following message is from SPL to U-Boot, according to my step, if I wanna fix Bad Erase Block issue, what should I do?
==========1st Step: Load SPL into SRAM==========
U-Boot SPL 2013.01.01 (Oct 09 2014 - 11:09:01)
>>spl:board_init_r()
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
boot device - 0
SPL: Un-supported Boot Device
### ERROR ### Please RESET the board ###
==========2nd Step: Load u-boot into DDR==========
U-Boot 2013.01.01 (Oct 09 2014 - 11:09:01)

I2C:   ready
DRAM:  64 MiB
WARNING: Caches not enabled
Incorrect magic number (0x0) in EEPROM
Could not get board ID.
NAND:  NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB )
128 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Scanning device for bad blocks
*** Warning - bad CRC, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4                                                    
musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
USB Peripheral mode controller at 47401000 using PIO, IRQ 0                     
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0                                                
musb-hdrc: setup fifo_mode 4                                                    
musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
USB Host mode controller at 47401800 using PIO, IRQ 0                           
Net:   <ethaddr> not set. Validating first E-fuse MAC                           
PHY reset timed out                                                             
cpsw, usb_ether                                                                 
Hit any key to stop autoboot:  0                                                
Card did not respond to voltage select!                                         
mmc0(part 0) is current device                                                  
Card did not respond to voltage select!                                         
Booting from nand ...                                                           
                                                                                
NAND read: device 0 offset 0x280000, size 0x500000                              
off = 2621440, rwsize = 5242880, maxsize = 131596288, addr = 15034482688        
 5242880 bytes read: OK                                                         
Wrong Image Format for bootm command                                            
ERROR: can't get kernel image!
 
==========3rd Step: Write something data into nand flash==========

U-Boot# nand write 0x80000000 0x0 0x80000

NAND write: device 0 offset 0x0, size 0x80000
off = 0, rwsize = 524288, maxsize = 134217728, addr = 2147483648
524288 bytes written: OK
 
==========4th Step: repower up and load SPL into SRAM==========
U-Boot SPL 2013.01.01 (Oct 09 2014 - 11:09:01)
>>spl:board_init_r()
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
boot device - 0
SPL: Un-supported Boot Device
### ERROR ### Please RESET the board ###

==========5th Step: Load u-boot into DDR, at this step, it shows bad block information==========
U-Boot 2013.01.01 (Oct 09 2014 - 11:09:01)                                      
                                                                                
I2C:   ready                                                                    
DRAM:  64 MiB                                                                   
WARNING: Caches not enabled                                                     
Incorrect magic number (0x0) in EEPROM                                          
Could not get board ID.                                                                                                    
NAND:  NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB )
128 MiB                                                                         
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
Scanning device for bad blocks                                                  
Bad eraseblock 0 at 0x000000000000                                              
Bad eraseblock 1 at 0x000000020000                                              
Bad eraseblock 2 at 0x000000040000                                              
Bad eraseblock 3 at 0x000000060000                                              
*** Warning - bad CRC, using default environment                                
                                                                                
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0                                                
musb-hdrc: setup fifo_mode 4                                                    
musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
USB Peripheral mode controller at 47401000 using PIO, IRQ 0                     
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
musb-hdrc: MHDRC RTL version 2.0                                                
musb-hdrc: setup fifo_mode 4                                                    
musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
USB Host mode controller at 47401800 using PIO, IRQ 0                           
Net:   <ethaddr> not set. Validating first E-fuse MAC                           
PHY reset timed out                                                             
cpsw, usb_ether                                                                 
Hit any key to stop autoboot:  0                                                
Card did not respond to voltage select!                                         
mmc0(part 0) is current device                                                  
Card did not respond to voltage select!                                         
Booting from nand ...                                                           
                                                                                
NAND read: device 0 offset 0x280000, size 0x500000                              
off = 2621440, rwsize = 5242880, maxsize = 131596288, addr = 15034482688        
 5242880 bytes read: OK                                                         
Wrong Image Format for bootm command                                            
ERROR: can't get kernel image!

Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>