Modify

Opened 4 years ago

Last modified 3 years ago

#14511 new defect

can't start kernel

Reported by: fabiorossoni.fr@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Attitude Adjustment 12.09
Keywords: at91sam9260 Cc:

Description

i'm using /svn.openwrt.org/openwrt/tags/attitude_adjustment_12.09 over at91sam9260 board.
After downloading all the source from above make menuconfig was used in order to configure only the right processor and the u-boot build.
After that also the kernel_menuconfig was used to select the at91sam9260 and at91sam9260ek.
make process was compleated correctlty and u-boot , kernel and rootFs jfss was generated.
Starting from that point i tried to load the the at91boot previusly available (that board actually run with kamikaze 8.09) u-boot and kernel, below the issue:

U-Boot 2010.06 (Nov 21 2013 - 12:34:50)

DRAM: 64 MiB
NAND: 256 MiB
* Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 0
U-Boot>
U-Boot> setenv serverip 192.168.0.2
U-Boot> setenv ipaddr 192.168.0.80
U-Boot>
U-Boot>
U-Boot> setenv ethaddr 00:01:02:03:04:05
U-Boot> setenv eth1addr 00:01:02:03:04:05
U-Boot> setenv eth2addr 00:01:02:03:04:05
U-Boot> setenv bootdelay 3
U-Boot> setenv baudrate 115200
## Switch baudrate to 115200 bps and press ENTER ...
U-Boot> saveenv
Saving Environment to dataflash...
U-Boot> tftpboot 22000000 openwrt-at91-9260-uImage
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Using macb0 device
TFTP from server 192.168.0.2; our IP address is 192.168.0.80
Filename 'openwrt-at91-9260-uImage'.
Load address: 0x22000000
Loading: #################################################################

#################################################################
################################################

done
Bytes transferred = 2599076 (27a8a4 hex)
U-Boot> nand erase 000A0000 0027a8a4

NAND erase: device 0 offset 0xa0000, size 0x27a8a4
Erasing at 0x300000 -- 100% complete.
OK
U-Boot> nand write.jffs2 22000000 000A0000 0027b000

NAND write: device 0 offset 0xa0000, size 0x27b000

2600960 bytes written: OK

U-Boot> bootm 0x22000000
## Booting kernel from Legacy Image at 22000000 ...

Image Name: linux-2.6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2599012 Bytes = 2.5 MiB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

OK

Starting kernel ...
and than nothing ...

so seams that the new backfire kernel (3.3.8) is not started and also the board is hang.
Any help will be very appreciated.
Thanks in advance
regards
Fabio

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by ciusss89

I have the same problem on kirkwood architecture on segate GoFlexNet.

Compiling last trunk as .config default, boot halt on booting the kernel. Kernel image is based on Linux-3.10.18.

I found this problem from last kernel source upgrade.

U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x200000, size 0x300000
 3145728 bytes read: OK
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   ARM OpenWrt Linux-3.10.18
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1436188 Bytes = 1.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Using machid 0xc11 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

comment:2 Changed 4 years ago by fabiorossoni.fr@…

seams leatle beat different, in your case Kernel 3.10.18 is tryng to start ... in my case seams not and the only attempt was performed using linux 2.6...

Seams that no one is able to help us...

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 3 years ago by bittorf@…

same with r42220 - see /ticket/14938.html

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.