Modify

Opened 3 years ago

#20004 new defect

kirkwood: Kernel Hangs after u-boot at Uncompressing Linux...

Reported by: ciusss89 Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

Hi all.
Linux don't booting on GoFlexNet (SoC kirkwood)
I got uboot from doozan forum, this thread http://forum.doozan.com/read.php?3,12381

My flash script:

setenv ipaddr '192.168.1.10'; setenv serverip '192.168.1.9'; setenv ethaddr '00:10:75:**:**:**'; 
setenv dtb_off '0x00100000';setenv ker_off '0x00180000';setenv fs_off '0x00480000'

setenv name_ker 'openwrt-kirkwood-uImage'; 
setenv name_fs 'openwrt-kirkwood-goflexnet-jffs2-64k.img'
setenv name_dtb 'openwrt-kirkwood-goflexnet.dtb'

setenv dl_dtb 'tftp ${loadaddr} ${name_dtb}'; setenv dtb 'nand erase.part dtb ; nand write.e ${loadaddr} ${dtb_off} ${filesize}'
setenv dl_kernel 'tftp ${loadaddr} ${name_ker}'; setenv ker 'nand erase.part uImage; nand write.e ${loadaddr} ${ker_off} ${filesize}'
setenv dl_rootfs 'tftp ${loadaddr} ${name_fs}'; setenv fs 'nand erase.part rootfs; nand write.e $(loadaddr) ${fs_off} ${filesize}'

setenv flash 'run dl_dtb; run dtb; run dl_kernel; run ker;run dl_rootfs; run fs'

setenv bootargs_root 'root=/dev/mtdblock3 rootfstype=jffs2'
setenv load_openwrt 'setenv bootargs ${console} ${bootargs_root}; nand read ${loadaddr_dtb} ${dtb_off} 0x80000; nand read ${loadaddr} ${ker_off} 0x300000;  bootm ${loadaddr} - ${loadaddr_dtb}'
setenv bootcmd 'run load_openwrt'

Uboot_console:

GoFlexNet> bdinfo
arch_number = 0x00000C11
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x08000000
DRAM bank   = 0x00000001
-> start    = 0x00000000
-> size     = 0x00000000
eth0name    = egiga0
ethaddr     = 00:10:75:26:6E:CA
current eth = egiga0
ip_addr     = 192.168.1.10
baudrate    = 115200 bps
TLB addr    = 0x07FF0000
relocaddr   = 0x07F3D000
reloc off   = 0x0793D000
irq_sp      = 0x07B1CF3C
sp start    = 0x07B1CF30
GoFlexNet>
GoFlexNet> mtdparts

device nand0 <orion_nand>, # parts = 5
 #: name                size            offset          mask_flags
 0: u-boot              0x00100000      0x00000000      0
 1: dtb                 0x00080000      0x00100000      0
 2: uImage              0x00300000      0x00180000      0
 3: rootfs              0x02000000      0x00480000      0
 4: data

 GoFlexNet> run load_openwrt

NAND read: device 0 offset 0x100000, size 0x80000
 524288 bytes read: OK

NAND read: device 0 offset 0x180000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy Image at 06500000 ...
   Image Name:   ARM OpenWrt Linux-3.18.16
   Created:      2015-06-29  10:33:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1755316 Bytes = 1.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 06400000
   Booting using the fdt blob at 0x6400000
   Loading Kernel Image ... OK
   Loading Device Tree to 07b15000, end 07b1ad58 ... OK
Using machid 0xc11 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
          

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.