关于imx6dl生成firmware下载的问题

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

关于imx6dl生成firmware下载的问题

1,832 Views
ninglu
Contributor II

你好:

    我们现在使用的有两款片子,一款是sabresd6q,一款是sabresd6dl。他们使用的外围硬件都是一样的,包括内存、mmc等等。差别就是cpu不同。

    在我们现在的平台上,生成sabresd6q的firmware,进行下载是能够正常下载的。

   但是生成的sabresd6dl的firmware,进行下载,却不行,一直停留在jump osimage 。

    我们使用的是32位的,2g的内存。

    编firmware的流程如下:

1、在mx6dl_sabresd_mfg.h文件中,将

#define PHYS_SDRAM_1_SIZE    (1u * 1024 * 1024 * 1024)

修改成了

#define PHYS_SDRAM_1_SIZE    (1u * 2048 * 1024 * 1024)

2、在flash_header.S文件中,将参数替换成   生成的针对与dl的32位2g的内存参数。

3、

cd ~/myandroid/bootable/bootloader/uboot-imx

make distclean

make mx6dl_sabresd_mfg_config

make

4、将生成的u-boot.bin拷贝到从官网上新下的针对mx6dl系列的mfg-tool中的os irmware中,并修改名字为u-boot-mx6dl-sabresd.bin

请问这个步骤是否正确,是否还有那些地方需要更改。

0 Kudos
5 Replies

1,223 Views
ninglu
Contributor II

修改了一下flash_header.S里面的参数后,能够出打印信息了,但是到了print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal 后,板子就断电,无法继续下载了。具体打印信息如下:

CPU: Freescale i.MX6 family TO1.2 at 792 MHz                               
Thermal sensor with ratio = 182                                            
Temperature:   41 C, calibration data 0x57f4c57d                           
mx6q pll1: 792MHz                                                          
mx6q pll2: 528MHz                                                          
mx6q pll3: 480MHz                                                          
mx6q pll8: 50MHz                                                           
ipg clock : 66000000Hz                                                 
ipg per clock : 66000000Hz                                                 
uart clock: 80000000Hz                                                 
cspi clock: 60000000Hz                                                 
ahb clock : 132000000Hz                                                
axi clock   : 198000000Hz                                                  
emi_slow clock: 99000000Hz                                                 
ddr clock : 396000000Hz                                                
usdhc1 clock  : 198000000Hz                                                
usdhc2 clock  : 198000000Hz                                                
usdhc3 clock  : 198000000Hz                                                
usdhc4 clock  : 198000000Hz                                                
nfc clock : 24000000Hz                                                 
Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61012 [POR ]           
Boot Device: SPI NOR                                                       
I2C:   ready                                                               
DRAM:   2 GB                                                               
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3                 
Using default environment                                                  
                                                                           
In:serial                                                              
Out:   serial                                                              
Err:   serial                                                              
i2c_addr:chip address cycle fail(a1)                                       
i2c_addr failed                                                            
Rad licell error!e                                                         
Net:   got MAC address from IIM: 00:00:00:00:00:00                         
FEC0 [PRIME]                                                               
Hit any key to stop autoboot:  0                                           
## Booting kernel from Legacy Image at 10800000 ...                        
   Image Name:   Linux-3.0.35-2666-gbdde708                                
   Image Type:   ARM Linux Kernel Image (uncompressed)                     
   Data Size:3164384 Bytes =  3 MB                                     
   Load Address: 10008000                                                  
   Entry Point:  10008000                                                  
   Verifying Checksum ... OK                                               
## Loading init Ramdisk from Legacy Image at 10c00000 ...                  
   Image Name:   uboot initramfs rootfs                                    
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                 
   Data Size:4545326 Bytes =  4.3 MB                                   
   Load Address: 00000000                                                  
   Entry Point:  00000000                                                  
   Verifying Checksum ... OK                                               
   Loading Kernel Image ... OK                                             
OK                                                                         
                                                                           
Starting kernel ...                                                        
                                                                           
Uncompressing Linux... done, booting the kernel.                           

Linux version 3.0.35-2666-gbdde708 (rob@rob-All-Serious) (gcc version 4.6.2 2011

0630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)

) #2 SMP PREEMPT Mon Sep 22 15:22:34 CST 2014                             
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d           
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache          
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board                 
Memory policy: ECC disabled, Data cache writealloc                         
CPU identified as i.MX6DL/SOLO, silicon rev 1.2                            
PERCPU: Embedded 7 pages/cpu @8c80e000 s5184 r8192 d15296 u32768           
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 520192

Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc enable_wait_mode=off

PID hash table entries: 4096 (order: 2, 16384 bytes)                       
Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)          
Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)            
Memory: 2048MB = 2048MB total                                              
Memory: 2068348k/2068348k available, 28804k reserved, 360448K highmem      
Virtual kernel memory layout:                                              
vector  : 0xffff0000 - 0xffff1000   (   4 kB)                          
fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                          
DMA : 0xf4600000 - 0xffe00000   ( 184 MB)                          
vmalloc : 0xea800000 - 0xf2000000   ( 120 MB)                          
lowmem  : 0x80000000 - 0xea000000   (1696 MB)                          
pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)                          
modules : 0x7f000000 - 0x7fe00000   (  14 MB)                          
  .init : 0x80008000 - 0x8003a000   ( 200 kB)                          
  .text : 0x8003a000 - 0x805ada5c   (5583 kB)                          
  .data : 0x805ae000 - 0x805fc600   ( 314 kB)                          
   .bss : 0x805fc624 - 0x806275b4   ( 172 kB)                          
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1    
Preemptible hierarchical RCU implementation.                               
NR_IRQS:624                                                                
MXC GPIO hardware                                                          
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms   
Set periph_clk's parent to pll2_pfd_400M!                                  
arm_max_freq=800MHz                                                        
MXC_Early serial console at MMIO 0x2020000 (options '115200')              
bootconsole [ttymxc0] enabled                                              
Console: colour dummy device 80x30                                         
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)                   
pid_max: default: 32768 minimum: 301                                       
Mount-cache hash table entries: 512                                        
CPU: Testing write buffer coherency: ok                                    
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor                                           
Brought up 2 CPUs                                                          
SMP: Total of 2 processors activated (3162.11 BogoMIPS).                   
print_constraints: dummy:                                                  
NET: Registered protocol family 16                                         
print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal           
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal        
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal         
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal        
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal         

print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

0 Kudos

1,223 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try to run DDR Stress Test?

i.MX6/7 DDR Stress Test Tool V2.52

0 Kudos

1,223 Views
ninglu
Contributor II

进行过压力测试,都通过了。

0 Kudos

1,223 Views
ninglu
Contributor II

没有任何打印信息输出,

0 Kudos

1,223 Views
jimmychan
NXP TechSupport
NXP TechSupport

could you show me the message from the debug uart?

0 Kudos