can not boot linux

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

smart
Posts: 16
Joined: Sat Dec 31, 2016 10:42 am

can not boot linux

Fri Jan 20, 2017 4:02 am

hi ~~~

i have qustion that i am booting the linux kernel in the U-boot. the kernel is not over run and show information :

The 1st is linux4sam-at91_4.2 information


RomBOOT

AT91Bootstrap 3.6.0-00034-gbfd71bd (Fri Oct 18 10:56:39 CST 2013)

1-Wire: Loading 1-Wire information ...
1-Wire: ROM Searching ... Done, 0x0 1-Wire chips found

WARNING: 1-Wire: No 1-Wire chip found

1-Wire: Using defalt value SYS_GPBR2: 0x4010425, SYS_GPBR3: 0x8421

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0x32
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 0x2, sector: 0x200
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
NAND: Done to load image


U-Boot 2012.10-00126-g5e9f9da (Sep 29 2013 - 09:38:46)

CPU: AT91SAM9X25
Crystal frequency: 12 MHz
CPU clock : 400 MHz
Master clock : 133.333 MHz
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
MMC: mci: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: macb0
Warning: failed to set MAC address
, macb1
Warning: failed to set MAC address

Hit any key to stop autoboot: 3 0
U-Boot> nand read 21000000 180000 10000;

NAND read: device 0 offset 0x180000, size 0x10000
65536 bytes read: OK
U-Boot>
U-Boot> nand read 22000000 200000 300000;

NAND read: device 0 offset 0x200000, size 0x300000
3145728 bytes read: OK
U-Boot>
U-Boot> bootz 22000000 - 21000000;
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 27de5000, end 27dec3bf ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.6.9+ (jenkins@shaarm01) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #1 Sun Sep 29 12:43:42 CST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM (Device Tree), model: Atmel AT91SAM9G25-EK
Memory policy: ECC disabled, Data cache writeback
AT91: Detected soc type: at91sam9x5
AT91: Detected soc subtype: at91sam9x25
AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124856k/124856k available, 6216k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0468524 (4482 kB)
.init : 0xc0469000 - 0xc04913c4 ( 161 kB)
.data : 0xc0492000 - 0xc04c4940 ( 203 kB)
.bss : 0xc04c4964 - 0xc04def70 ( 106 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 3489660920ms
Console: colour dummy device 80x30
Calibrating delay loop... 198.76 BogoMIPS (lpj=775168)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x2032f3d8 - 0x2032f430
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
No ATAGs?
AT91: Power Management
AT91: Starting after general reset
gpio-at91 fffff400.gpio: at address fefff400
gpio-at91 fffff600.gpio: at address fefff600
gpio-at91 fffff800.gpio: at address fefff800
gpio-at91 fffffa00.gpio: at address fefffa00
pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driver
bio: create slab <bio-0> at 0
at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8010000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
at91_i2c f8010000.i2c: AT91 i2c bus driver.
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Version 1.0.25.
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 243
io scheduler noop registered (default)
f801c000.serial: ttyS1 at MMIO 0xf801c000 (irq = 23) is a ATMEL_SERIAL
fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16) is a ATMEL_SERIAL
console [ttyS0] enabled
brd: module loaded
loop: module loaded
ssc f0010000.ssc: Atmel SSC device at 0xc88a0000 (irq 19)
at24 0-0051: 65536 byte 24c512 EEPROM, writable, 128 bytes/write
atmel_nand: Use On Flash BBT
atmel_nand 40000000.nand: Using dma0chan2 for DMA transfers.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), page size: 2048, OOB size: 64
atmel_nand 40000000.nand: ONFI params, minimum required ECC: 4 bits in 512 bytes
atmel_nand 40000000.nand: WARNING: Be Caution! Using different PMECC parameters from Nand ONFI ECC reqirement.
atmel_nand 40000000.nand: Initialize PMECC params, cap: 2, sector: 512
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
8 cmdlinepart partitions found on MTD device atmel_nand
Creating 8 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "bootstrap"
0x000000040000-0x0000000c0000 : "uboot"
0x0000000c0000-0x000000100000 : "env"
0x000000100000-0x000000140000 : "env_redundant"
0x000000140000-0x000000180000 : "spare"
0x000000180000-0x000000200000 : "dtb"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 2
UBI: attached mtd7 to ubi0
UBI: MTD device name: "rootfs"
UBI: MTD device size: 248 MiB
UBI: number of good PEBs: 1980
UBI: number of bad PEBs: 4
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1980
UBI: number of PEBs reserved for bad PEB handling: 38
UBI: max/mean erase counter: 1/0
UBI: image sequence number: 1175959821
atmel_spi f0000000.spi: Using dma0chan3 (tx) and dma0chan4 (rx) for DMA transfers
atmel_spi f0000000.spi: Atmel SPI Controller at 0xf0000000 (irq 17)
atmel_spi f0000000.spi: master is unqueued, this is deprecated
m25p80 spi32766.0: unrecognized JEDEC id ffffff
UBI: background thread "ubi_bgt0d" started, PID 425
CAN device driver interface
at91_can f8004000.can: device registered (reg_base=c88f6000, irq=20)
macb f802c000.ethernet: (unregistered net_device): invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f802c000.ethernet: eth0: Cadence MACB at 0xf802c000 irq 24 (92:70:63:b6:4c:7f)
macb f802c000.ethernet: eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=f802c000.etherne:00, irq=-1)
macb f8030000.ethernet: (unregistered net_device): invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f8030000.ethernet: eth1: Cadence MACB at 0xf8030000 irq 25 (32:7f:c1:59:1b:4b)
macb f8030000.ethernet: eth1: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=f8030000.etherne:01, irq=-1)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[/color]

here the kernel is stoped ...do not anything ... :idea:

THE 2st is linux4sam-at91_5.5

RomBOOT

AT91Bootstrap 3.8.7 (Mon Oct 10 20:07:59 CEST 2016)

1-Wire: Loading 1-Wire information ...
1-Wire: ROM Searching ... Done, 0 1-Wire chips found

WARNING: 1-Wire: No 1-Wire chip found

1-Wire: Using default information

1-Wire: Board sn: 0x4010425 revision: 0x8421

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0x32
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
WARNING: ONFI requires 4-bit/512-byte ECC, but we use 2-bit/512-byte ECC.
NAND: Initialize PMECC params, cap: 2, sector: 512
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
NAND: Done to load image


U-Boot 2016.03-linux4sam_5.5 (Oct 10 2016 - 20:07:50 +0200)

CPU: AT91SAM9X25
Crystal frequency: 12 MHz
CPU clock : 400 MHz
Master clock : 133.333 MHz
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
MMC: mci: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: macb0
Error: macb0 address not set.
, macb1
Error: macb1 address not set.

Hit any key to stop autoboot: 3 0
U-Boot> nand read 21000000 180000 10000;

NAND read: device 0 offset 0x180000, size 0x10000
65536 bytes read: OK
U-Boot>
U-Boot> nand read 22000000 200000 600000;

NAND read: device 0 offset 0x200000, size 0x600000
6291456 bytes read: OK
U-Boot>
U-Boot> bootz 22000000 - 21000000;
Kernel image @ 0x22000000 [ 0x000000 - 0x396030 ]
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 27de9000, end 27df2cf2 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuacct
Linux version 4.4.26-linux4sam_5.5 (nferre@tenerife) (gcc version 5.3.0 (GCC) ) #1 Fri Oct 21 15:15:14 CEST 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
Machine model: Atmel AT91SAM9X25-EK
Memory policy: Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 122232K/131072K available (5326K kernel code, 179K rwdata, 1636K rodata, 188K init, 185K bss, 8840K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc06d4c10 (6964 kB)
.init : 0xc06d5000 - 0xc0704000 ( 188 kB)
.data : 0xc0704000 - 0xc0730f20 ( 180 kB)
.bss : 0xc0730f20 - 0xc075f6ac ( 186 kB)
NR_IRQS:16 nr_irqs:16 16
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 7167226906 ns
sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 16777215996093750ns
Console: colour dummy device 80x30
Calibrating delay loop... 198.76 BogoMIPS (lpj=775168)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20008400 - 0x2000847c
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 14931722236523437 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
AT91: Detected SoC family: at91sam9x5
AT91: Detected SoC: at91sam9x25, revision 1
gpio-at91 fffff400.gpio: at address c885a400
gpio-at91 fffff600.gpio: at address c885c600
gpio-at91 fffff800.gpio: at address c885e800
gpio-at91 fffffa00.gpio: at address c886aa00
pinctrl-at91 ahb:apb:pinctrl@fffff400: initialized AT91 pinctrl driver
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 114675631333 ns
at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy set slave sg-cpy ), 8 channels
at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy set slave sg-cpy ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8010000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
at91_i2c f8010000.i2c: AT91 i2c bus driver (hw version: 0x402).
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 256 (order: -1, 3072 bytes)
io scheduler noop registered (default)
fffff200.serial: ttyS0 at M
MIO 0xfffff200 (irq = 16, ba
se_baud = 8333333) is a ATME
L_SERIAL
console [ttyS0] enabled

f801c000.seria
l: ttyS1 at MM
IO 0xf801c000 (irq = 31, base_baud = 83333
33) is a ATMEL_SERIAL

[drm] Initialized drm 1.1.0
20060810

brd: module loaded
loop: module loaded
ssc f0010000.ssc: Atmel SSC device at 0xc88a8000 (irq 28)
atmel_nand 40000000.nand: Use On Flash BBT
atmel_nand 40000000.nand: Using dma0chan2 for DMA transfers.
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
atmel_nand 40000000.nand: minimum ECC: 4 bits in 512 bytes
atmel_nand 40000000.nand: WARNING: Be Caution! Using different PMECC parameters from Nand ONFI ECC reqirement.
atmel_nand 40000000.nand: Initialize PMECC params, cap: 2, sector: 512
nand: WARNING: 40000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
8 cmdlinepart partitions found on MTD device atmel_nand
Creating 8 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "bootstrap"
0x000000040000-0x0000000c0000 : "uboot"
0x0000000c0000-0x000000100000 : "env"
0x000000100000-0x000000140000 : "env_redundant"
0x000000140000-0x000000180000 : "spare"
0x000000180000-0x000000200000 : "dtb"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
CAN device driver interface
macb f802c000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed

here it is stoped ..... too !!! :?: :?: :?: :?: :?: :?: :?: :?: :?:
please help me ....


email:925295580@qq.com
mp: 13346239466 china
如果有国内的同行看到也请联系我一下. :?: :?: :?: :?: :?:
blue_z
Location: USA
Posts: 1504
Joined: Thu Apr 19, 2007 10:15 pm

Re: can not boot linux

Tue Jan 24, 2017 2:28 am

There seems to be two issues.
Assuming you are using some unstated custom board, you seem to be using a different board dtb for each boot.
IOW you do not seem to be booting with a Device Tree written specifically for the board that you are trying to boot.

Secondly, even with an invalid dtb the kernel should not hang. If the initialization code cannot recover and report an error, then a panic is still preferable to a hang.
Try appending two kernel parameters initcall_debug ignore_loglevel to the U-Boot bootargs environment variable to obtain more information during the kernel initialization.
Since this issue apparently only occurs on your board, it's up to you to identify this misbehaving code for the benefit of the community.

Regards
smart
Posts: 16
Joined: Sat Dec 31, 2016 10:42 am

Re: can not boot linux

Mon Feb 06, 2017 1:42 pm

blue_z wrote:There seems to be two issues.
Assuming you are using some unstated custom board, you seem to be using a different board dtb for each boot.
IOW you do not seem to be booting with a Device Tree written specifically for the board that you are trying to boot.

Secondly, even with an invalid dtb the kernel should not hang. If the initialization code cannot recover and report an error, then a panic is still preferable to a hang.
Try appending two kernel parameters initcall_debug ignore_loglevel to the U-Boot bootargs environment variable to obtain more information during the kernel initialization.
Since this issue apparently only occurs on your board, it's up to you to identify this misbehaving code for the benefit of the community.

Regards

hey hey !!! Hi my old friend "blue_z" i according to you say that set U-BOOT 's bootargs=initcall_debug ignore_loglevel.
but i can not understand anything ,please hlep me look this :


RomBOOT



AT91Bootstrap 3.8.7 (Mon Oct 10 20:07:59 CEST 2016)

1-Wire: Loading 1-Wire information ...
1-Wire: ROM Searching ... Done, 0 1-Wire chips found

WARNING: 1-Wire: No 1-Wire chip found

1-Wire: Using default information

1-Wire: Board sn: 0x4010425 revision: 0x8421

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0x32
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
WARNING: ONFI requires 4-bit/512-byte ECC, but we use 2-bit/512-byte ECC.
NAND: Initialize PMECC params, cap: 2, sector: 512
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
NAND: Done to load image


U-Boot 2016.03-linux4sam_5.5 (Oct 10 2016 - 20:07:50 +0200)

CPU: AT91SAM9X25
Crystal frequency: 12 MHz
CPU clock : 400 MHz
Master clock : 133.333 MHz
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
MMC: mci: 0
In: serial
Out: serial
Err: serial
Net: macb0
Error: macb0 address 01:11:22:33:44:55 illegal value
, macb1
Error: macb1 address not set.

Hit any key to stop autoboot: 3 0 setenv bootargs initcall_debug ignore_loglevel
U-Boot>
U-Boot> setenv bootargs initcall_debug ignore_loglevel
U-Boot>
U-Boot> print
baudrate=115200
bootargs=initcall_debug ignore_loglevel
bootcmd=nand read 0x22000000 0x200000 0x300000; bootm 0x22000000
bootdelay=3
ethact=macb0
ethaddr=01:11:22:33:44:55
ipaddr=192.168.0.12

Environment size: 207/131067 bytes
U-Boot>
baudrate=115200
bootargs=initcall_debug ignore_loglevel
bootcmd=nand read 0x22000000 0x200000 0x300000; bootm 0x22000000
bootdelay=3
ethact=macb0
ethaddr=01:11:22:33:44:55
ipaddr=192.168.0.12

Environment size: 207/131067 bytes
U-Boot> nand read 21000000 180000 10000;

NAND read: device 0 offset 0x180000, size 0x10000
65536 bytes read: OK
U-Boot>
U-Boot> nand read 22000000 200000 600000;

NAND read: device 0 offset 0x200000, size 0x600000
6291456 bytes read: OK
U-Boot>
U-Boot> bootz 22000000 - 21000000;
Kernel image @ 0x22000000 [ 0x000000 - 0x396030 ]
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 27de8000, end 27df25f6 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuacct
Linux version 4.4.26-linux4sam_5.5 (nferre@tenerife) (gcc version 5.3.0 (GCC) ) #1 Fri Oct 21 15:15:14 CEST 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
Machine model: Atmel AT91SAM9X35-EK
debug: ignoring loglevel setting.
Memory policy: Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c07305d0, node_mem_map c7efb000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32768 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: initcall_debug ignore_loglevel
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 122224K/131072K available (5326K kernel code, 179K rwdata, 1636K rodata, 188K init, 185K bss, 8848K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc06d4c10 (6964 kB)
.init : 0xc06d5000 - 0xc0704000 ( 188 kB)
.data : 0xc0704000 - 0xc0730f20 ( 180 kB)
.bss : 0xc0730f20 - 0xc075f6ac ( 186 kB)
NR_IRQS:16 nr_irqs:16 16
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 7167226906 ns
sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 16777215996093750ns
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop... 198.76 BogoMIPS (lpj=775168)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table
entries: 1024 (order: 0, 4096 bytes)
CPU: Testing writ
e buffer coherency: ok
calling cpu_suspe
nd_alloc_sp+0x0/0x80 @ 1
initcall cpu_sus
pend_alloc_sp+0x0/0x80 returned 0 after 0 usecs
calling init_static_idmap+0x0/0x114 @ 1
Setting up static identity map for
0x20008400 - 0x2000847c
initcall init_static_idmap+0x0/0x114 returned 0 after 0 usecs
calling spawn_ksoftirqd+0x0/0x28 @ 1
initcall spawn_ksoftirqd+0x0/0x28 returne
d 0 after 0 usecs
calling init_workqueues+0x0/0x2c8 @ 1
initcall init_workqueues+0x0/0x2c8 returned 0 after 0 usecs
calling rand_initialize+0x0/0x2c @ 1
initcall rand_initialize+0x0/0x2c returned 0 after 0 usecs
devtm
pfs: initialized
calling ipc_ns_init+0x0/0x3c @ 1
initcall ipc_ns_init+0x0/0x3c returned 0 after 0 usecs
calling init_mmap_min_addr+0x0/0x20 @ 1
initcall init_mmap_min_addr+0x0/0x20 returned 0 after 0 usecs
calling net_ns_init+0x0/0x1c0 @ 1
initcall net_ns_init+0x0/0x1c0 returned 0 after 0 usecs
calling ptrace_break_init+0x0/0x2c @ 1
initcall ptrace_break_init+0x0/0x2c returned 0 after 0 usecs
calling wq_sysfs_init+0x0/0x30 @ 1
initcall wq_sysfs_init+0x0/0x30 returned 0 after 7629 usecs
calling ksysfs_init+0x0/0xa0 @ 1
initcall ksysfs_init+0x0/0xa0 returned 0 after 0 usecs
calling pm_init+0x0/0x88 @ 1
initcall pm_init+0x0/0x88 returned 0 after 0 usecs
calling init_jiffies_clocksource+0x0/0x14 @ 1
clocksource:jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 14931722236523437 ns
initcall init_jiffies_clocksource+0x0/0x14 returned 0 after 0 usecs
calling cgroup_wq_init+0x0/0x7c @ 1
initcall cgroup_wq_init+0x0/0x7c returned 0 after 0 usecs
calling cpu_pm_init+0x0/0x18 @ 1
initcall cpu_pm_init+0x0/0x18 returned 0 after 0 usecs
calling
init_per_zone_wmark_min+0x0/0xac @ 1
initcall init_per_zone_wmark_min+0x0/0xac returned 0 after 0 usecs
calling init_zero_pfn+0x0/0x40 @ 1
initcall init_zero_pfn+0x0/0x40 returned 0 after 0 usecs
calling fsnotify_init+0x0/0x24 @ 1
initcall fsnotify_init+0x0/0x24 returned 0 after 0 usecs
calling filelock_init+0x0/0x6c @ 1
initcall filelock_init+0x0/0x6c returned 0 after 0 usecs
calling init_script_binfmt+0x0/0x1c @ 1
initcall init_script_binfmt+0x0/0x1c returned 0 after 0 usecs
calling init_elf_binfmt+0x0/0x1c @ 1
initcall init_elf_binfmt+0x0/0x1c ret
urned 0 after 0 usecs
calling configfs_init+0x0/0xa8 @ 1
initcall configfs_init+0x0/0xa8 returned 0 after 0 usecs
calling debugfs_init+0x0/0x64 @ 1

initcall debugfs_init+0x0/0x64 returned 0 after 0 usecs
calling prandom_init+0x0/0x94 @ 1
initcall prandom_init+0x0/0x94 returned 0 after 0 usecs
calling pinctrl_init+0x0/0xd8 @ 1
pinctrl core: initialized pinctrl subsystem
initcall pinctrl_init+0x0/0xd8 retu
rned 0 after 0 usecscalling regulator_init+0x0/0x9c @1
initcall regulator_init+0x0/0x9c retur
ned 0 after 0 usecscalling atmel_late_console_init+0x0/0x40 @ 1
initcall atmel_late_console_init+0x0/0x40 returned 0 after 0 usecs
calling soc_bus_register+0x0/0xc @ 1
initcall soc_bus_regi
ster+0x0/0xc returned 0 after 0 usecs
calling cpuidle_init+0x0/0x28 @ 1
initcall cpuidle_init+0x0/0x28 returned 0 after 0 u
secscalling sock_init+0x0/0x90 @ 1
initcall sock_init+0x0/0x90 returned 0 after
0 usecs
calling netlink_proto_init+0x0/0x16c @ 1
NET: Registered protocol family 16
initcall netlink_proto_i
nit+0x0/0x16c returned 0 after 0 usecs
calling atomic_pool_init+0x0/0x128 @ 1
DMA
: preallocated 256 KiB pool for atomic coherent allocations
initcall atomic_pool_init+0x0/0x128 returned 0 after 0 usecs
calling bdi_class_init+0x0/0x58 @ 1
initcall bdi_class_init+0x0/0x58 re
turned 0 after 0 usecs
calling mm_sysfs_init+0x0/0x38 @ 1
initcall mm_sysfs_init+0x0/0x38 returned 0 after 0 usecs
calling kobject_uevent_init+0x0/0xc @ 1
initcall kobject_uevent_init+0x0/0xc returned 0 after 0 usecs
calling gpiolib_sysfs_init+0x0/0x84 @ 1
initcall gpiolib_sysfs_init+
0x0/0x84 returned 0 after 0 usecs
calling backlight_class_init+0x0/0xa0 @ 1
initcall backlight_class_init+0x0/0xa0 returned 0 after 0 usecs
calling tty_class_init+0x0/0x40 @ 1
initcall tty_class_init+0x0/0x40 returned 0 after 0 usecs
calling vtconsole_class_init+0x0/0xe4 @ 1
initcall vtconsole_class_init+0x0/0xe4 returned 0 after 0 usecs
calling wakeup_sources_debugfs_init+0x0/0x38 @ 1
initcall wakeup_sources_debugfs_init+0x0/0x38 returned 0 after 0 usecs
calling regmap_i
nitcall+0x0/0x10 @ 1initcall regmap_init
call+0x0/0x10 returned 0 after 0 usecs
calling sram_init+0x0/0x10 @ 1initcall sr
am_init+0x0/0x10 returned 0 after 0 usecs
calling syscon_init+0x0/0x10 @ 1
initcall syscon_init+0x0/0x10 returned 0 after 0 usecs
calling spi_init+0x0/0x8c @ 1
initcall spi_init+0x0/0x8c returned 0 after 0 usecs
calling i2c_init+0x0/0xb4 @ 1
initcall i2c_init+0x0/0xb4 returned 0 after 7629 usecs
calling init_ladder+0x0/0xc @ 1
cpuidle: using governorladder
initcall init_ladder+0x0/0xc returned 0 after 0 usecs
calling init_menu+0x0/0xc @ 1
cpuidle: using governor menu

initcall init_menu+0x0/0xc returned 0 after 0 usecs
calling gate_vma_init+0x0/0x24 @ 1
initcall gate_vma_init+0x0/0x24 returned 0 after 0 usecs
calling customize_machine+0x0/0x44 @ 1
AT91: Detected SoC family: at91sam9x5
AT91: Detected SoC: at91sam9x25, revision 1
initcall customize_machine+0x0/0x44 returned 0 after 22888 usecs
calling exceptions_init+0x0/0x94 @ 1

initcall exceptions_init+0x0/0x94 returned 0 after 0 usecs
calling at91_pinctrl_init+0x0/0x14 @ 1
gpio-at91 fffff400.gpio: at address c885a400
gpio-at91 fffff600.gpio: at address c885c600
gpio-at91 fffff800.gpio: at address c885e800
gpio-at91 fffffa00.gpio: at address c886aa00
pinctrl-at91 ahb:apb:pinctrl@fffff400: initialized AT91 pinctrl driver
initcall at91_pinctrl_init+0x0/0x14 returned 0 after 7629 usecs
calling dma_bus_init+0x0/0xa8 @ 1
initcall dma_bus_init+0x0/0xa8 returned 0 after 0 usecs
calling dma_channel_table_init+0x0/0x114 @ 1
initcall dma_channel_table_init+0x0/0x11
4 returned 0 after 0 usecs
calling tc_init+0x0/0x18 @ 1
initcall tc_init+0x0/0x18 returned 0 after 7629 usecs
calling tcb_clksrc_init+0x0/0x36c @ 1
tcb_clksrc: tc
0 at 16.166 MHz
clocksource: tcb_clksrc: mask: 0xffffff
ff max_cycles: 0xffffffff, max_idle_ns: 11
4675631333 ns
initcall tcb_clksrc_init+0x0/0x36c returned 0 after 0 usecs
calling of_at91_clk_slow_retain+0x0/0x4c @ 1
initcall of_at91_clk_slow_retain+0x0/0x4c returned 0 after 0 usecs
calling topology_init+0x0/0x28 @1
initcall topology_init+0x0/0x28 returned 0 after 0 usecs
calling uid_cache_init+0x0/0xa8 @ 1
initcall uid_cache_init+0x
0/0xa8 returned 0 after 0 usecs
calling param_sysfs_init+0x0/0x1d0 @ 1
initcall param_sysfs_init+0x0/0x1d0 returned 0 after 0 usecs
calling crash_save_vmcoreinfo_init+0x0/0x440 @ 1
initcall crash_save_vmcoreinfo_init+0x0/0x440 returned 0 after 0 usecs
calling crash_notes_memory_init+0x0/0x40 @ 1
initcall crash_notes_memory_init+0x0/0x40 returned 0 after 0 usecs
calling default_bdi_init+0x0/0x58 @ 1
initcall default_bdi_init+0x0/0x58 returned 0 after 0 usecs
calling percpu_enable_async+0x0/0x18 @ 1
initcall percpu_enable_async+0x0/0x18 returned 0 after 0 usecs
calling init_reserve_notifier+0x0/0x8 @ 1
initcall init_reserve_notifier+0x0/0x8 returned 0 after 0 usecs
calling init_admin_reserve+0x0/0x30 @ 1
initcall init_admin_reserve+0x0/0x30 returned 0 after 0 usecs
calling init_user_reserve+0x0/0x30 @ 1
initcall init_user_reserve+0x0/0x30 returned 0 after 0 usecs
calling crypto_wq_init+0x0/0x44 @ 1
initcall crypto_wq_init+0x0/0x44 returned 0 after 0 usecs
calling cryptomgr_init+0x0/0xc @ 1
initcall cryptomgr_init+0x0/0xc returned 0 after 0 usecs
calling init_bio+0x0/0xc0 @ 1
initcall init_bio+0x0/0xc0 returned 0 after 0 usecs
calling blk_settings_init+0x0/0x34 @ 1
initcall blk_settings_init+0x0/0x34 returned 0 after 0 usecs
calling blk_ioc_init+0x0/0x40 @ 1
initcall blk_ioc_init+0x0/0x40 returned 0 after 0 usecs
calling blk_softirq_init+0x0/0x2c @ 1
initcall blk_softirq_init+0x0/0x2c returned 0 after 0 usecs
calling blk_iopoll_setup+0x0/0x2c @ 1
initcall blk_iopoll_setup+0x0/0x2c returned 0 after 0 u
secscalling blk_mq_init+0x0/0x10 @ 1
initcall blk_mq_init+0x0/0x10 returned 0 after 0 usecs
calling genhd_device_init+0x0/0x84 @ 1
initcall genhd_device_init+0x0/0x84 returned 0 after 0 use
cscalling gpiolib_debugfs_init+0x0/0x3c @ 1
initcall gpiolib_debug fs_init+0x0/0x3c returned 0 after 0 usecs
calling pwm_debugfs_init+0x0/0x3c @ 1
initcall pwm_debugfs_init+0x0/0x3c returned 0 after 0 usecs
calling pwm_sysfs_init+0x0/0x14 @ 1
initcall pwm_sysfs_init+0x0/0x14 returned 0 after 0 usecs
calling fbmem_init+0x0/0xac @ 1
initcall fbmem_init+0x0/0xac returned 0 after 0 usecs
calling at_dma_init+0x0/0x18 @ 1
at_hdmac ffffec00.dma-controller: Atmel A
HB DMA Controller ( cpy set
slave sg-cpy ), 8 channels
at_hdmac ffffe
e00.dma-controller: Atmel AHB DMA Controll
er ( cpy set slave sg-cpy ), 8 channels
initcall at_dma_init+0x0/0x18 returned 0 after 0 usecs
calling regulator_fixed_voltage_init+0x0/0x10 @ 1
initcall regulator_fixed_voltage_init+0x0/0x10 returned 0 after 0 usecs
calling misc_init+0x0/0xd0 @ 1
initcall misc_init+0x0/0xd0 returned 0 after 0 usecs
calling dma_buf_init+0x0/0x84 @ 1
initcall dma_buf_init+0x0/0x84 returned 0 after 0 usecs
calling init_scsi+0x0/0x8c @ 1
SCSI subsystem initialized
initcall init_scsi+0x0/0x8c returned 0 after 0 usecsc
alling phy_init+0x0/0x3c @ 1initcall phy_init+0x0/0x3c returned 0 after 0 usecs
calling usb_init+0x0/0x16c @ 1
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
initcall usb_init+0x0/0x16c returned 0 after 0 usecs
calling usb_udc_init+0x0/0x58 @ 1
initcall usb_udc_init+0x0/0x58 returned 0 after 0 usecs
calling input_init+0x0/0x114 @ 1
initcall input_init+0x0/0x114 returned 0 after 0 usecs
calling rtc_init+0x0/0x58@ 1
initcall rtc_init+0x0/0x58 returned
0 after 0 usecscalling at
91_twi_init+0x0/0x10 @ 1
at91_i2c f801000
0.i2c: using dma0chan0 (tx) and dma0chan1
(rx) for DMA transfers
at91_i2c f8010000.
i2c: AT91 i2c bus driver (hw version: 0x40
2).
initcall at91_twi_init+0x0/0x10 returned 0 after 0 usecs
calling i2c_gpio_init+0x0/0x30 @ 1
initcall i2c_gpio_init+0x0/0x30 returned 0 after 0 usecs
calling videodev_init+0x0/0x88 @ 1Linux video capture interface: v2.00
initcall videodev_init+0x0/0x88 returned 0 after 0 usecs
calling power_supply_class_init+0x0/0x50 @ 1
initcall power_supply_class_init+0x0/0x50 returned 0 after 0 usecs
calling mmc_init+0x0/0x88 @ 1
initcall mmc_init+0x0/0x88 returned 0 after 0 usecs
calling leds_init+0x0/0x4c @ 1
initcall leds_init+0x0/0x4c returned 0 after 0 usecs
calling iio_init+0x0/0x8c @ 1
initcall iio_init+0x0/0x8c returned 0 after 0 usecs
calling init_soundcore+0x0/0x40 @ 1
initcall init_soundcore+0x0/0x40 returned 0 after 0 use
cscalling alsa_sound_init+0x0/0xac @ 1
Advanced Linux Sound Architecture Driver Initialized.
initcall alsa_sound_init+0x0/0xac returned 0 after 0 usecs
calling proto_init+0x0/0xc @ 1
initcall proto_init+0x0/0xc returned 0 after 0 usecs
calling net_dev_init+0x0/0x130 @ 1

initcall net_dev_init+0x0/0x130 returned0 after 0 usecs
calling neigh_init+0x0/0xa4 @ 1
initcall neigh_init+0x0/0xa4 returned 0 after 0 usecs
calling genl_init+0x0/0x80 @ 1
initcall genl_init+0x0/0x80 returned 0 after 0 usecs
calling cfg80211_init+0x0/0xe0 @ 1
initcall cfg80211_init+0x0/0xe0 returned 0 after 0 usecs
calling ieee80211_init+0x0/0x40 @ 1
initcall ieee80211_init+0x0/0x40 returned 0 after 0 usecs
calling watchdog_init+0x0/0xb8 @ 1
initcall watchdog_init+0x0/0xb8 returned 0 after 0 usecs
calling proc_cpu_init+0x0/0x24 @ 1
initcall proc_cpu_init+0x0/0x24 returned 0 after 0 usecs
calling dma_debug_do_init+0x0/0x8 @ 1

initcall dma_debug_do_init+0x0/0x8 returned 0 after 0 usecs
calling alignment_init+0x0/0xdc @ 1
initcall alignment_init+0x0/0xdc returned 0 after 0 usecs
calling clocksource_done_booting+0x0/0x44 @ 1
clocksource: Switched to clocksource tcb_clksrc
initcall clocksource_done_booting+0x0/0x44 returned 0 after 90 usecs
calling init_pipe_fs+0x0/0x4c @ 1
initcall init_pipe_fs+0x0/0x4c returned 0 after 107 usecs
calling inotify_user_setup+0x0/0x54 @ 1
initcall inotify_user_setup+0x0/0x54 returned 0 after 57 usecscalling eventpoll_init+0x0/0xb4 @ 1
initcall e
ventpoll_init+0x0/0xb4 returned 0 after 43 usecs
calling anon_inode_init+0x0/0x64 @ 1
initcall anon_inode_init+0x0/0x64 returned 0 after 125 usecs
calling proc_cmdline_init+0x0/0x38 @ 1
initcall proc_cmdline_init+0x0/0x38 returned 0 after 24 usecs
calling proc_consoles_init+0x0/0x38 @ 1
initcall proc_consoles_init+0x0/0x38 returned 0 after 17 usecs
calling proc_cpuinfo_init+0x0/0x38 @ 1
initcall proc_cpuinfo_init+0x0/0x38 returned 0 after 17 usecs
calling proc_devices_init+0x0/0x38 @ 1
initcall proc_devices_init+0x0/0x38 returned 0 after 17 usecs
calling proc_interrupts_init+0x0/0x38 @ 1
initcall proc_interrupts_init+0x0/0x38 returned 0 after 16 usecscallingproc_loadavg_init+0x0/0x38 @ 1
initcall proc_loadavg_
init+0x0/0x38 returned 0 after 17 usecs
calling proc_meminfo_init+0x0/0x38 @ 1
initcall proc_meminfo_init+0x0/0x38 returned 0 after 16 usecs
calling proc_stat_init+0x0/0x38 @ 1
initcall proc_stat_init+0x0/0x38 returned 0 after 16 us
ecscalling proc_uptime_init+0x0/0x38 @ 1
initcall proc_uptime_init+0x0/0x38 returned 0 after 14 usecs
calling proc_version_init+0x0/0x38 @ 1
initcall proc_version_init+0x0/0x38 returned 0 a
fter 15 usecscalling proc_softirqs_init+0x0/0x38 @ 1
initcall proc_softirqs_init+0x0/0x38 returned 0 after 15 usecs
calling proc_kmsg_
init+0x0/0x38 @ 1
initcall proc_kmsg_init
+0x0/0x38 returned 0 after 15 usecs
calli
ng proc_page_init+0x0/0x58
@ 1
initcall proc_page_init+0x0/0x58 returned 0 after 2
6 usecs
calling init_ramfs
_fs+0x0/0x3c @ 1
initcall init_ramfs_fs+0
x0/0x3c returned 0 after 8 usecs
calling
blk_scsi_ioctl_init+0x0/0xdc @ 1
initcal
l blk_scsi_ioctl_init+0x0/0xdc returned 0
after 2 usecs
calling chr_dev_init+0x0/0
xc4 @ 1
initcall chr_dev_in
it+0x0/0xc4 returned 0 after 39739 usecs

calling firmware_class_init+0x0/0x98 @ 1
initcall firmware_class_ini
t+0x0/0x98 returned 0 after
5 usecs
calling sysctl_core_init+0x0/0x3
0 @ 1
initcall sysctl_core_init+0x0/0x30
returned 0 after 89 usecs
calling eth_of
fload_init+0x0/0x18 @ 1
initcall eth_offl
oad_init+0x0/0x18 returned 0 after 1 usecs

calling inet_init+0x0/0x250 @ 1
NET: R
egistered protocol family 2
TCP establish
ed hash table entries: 1024 (order: 0, 409
6 bytes)
TCP bind hash tabl
e entries: 1024 (order: 0, 4096 bytes)
TC
P: Hash tables configured (established 102
4 bind 1024)
UDP hash table entries: 256
(order: 0, 4096 bytes)
UDP-Lite hash tabl
e entries: 256 (order: 0, 4096 bytes)
ini
tcall inet_init+0x0/0x250 returned 0 after
2888 usecs
calling ipv4_offload_init+0x
0/0x5c @ 1
initcall ipv4_offload_init+0x0
/0x5c returned 0 after 3 usecs
calling a
f_unix_init+0x0/0x54 @ 1
NE
T: Registered protocol family 1
initcall af_unix_init+0
x0/0x54 returned 0 after 145 usecs
callin
g ipv6_offload_init+0x0/0x74 @ 1
initcal
l ipv6_offload_init+0x0/0x74 returned 0 af
ter 5 usecs
calling init_sunrpc+0x0/0x68
@ 1
RPC: Registered named UNIX socket tr
ansport module.
RPC: Registered udp trans
port module.
RPC: Registered tcp transpor
t module.
RPC: Registered tcp NFSv4.1 bac
kchannel transport module.
initcall init_
sunrpc+0x0/0x68 returned 0 after 988 usecs

calling default_rootfs+0x0/0x74 @ 1
in
itcall default_rootfs+0x0/0x74 returned 0
after 112 usecs
calling proc_execdomains
_init+0x0/0x38 @ 1
initcall proc_execdoma
ins_init+0x0/0x38 returned 0 after 28 usec
s
calling ioresources_init
+0x0/0x58 @ 1
initcall ioresources_init+0
x0/0x58 returned 0 after 30 usecs
calling
irq_gc_init_ops+0x0/0x18 @ 1
initcall i
rq_gc_init_ops+0x0/0x18 returned 0 after 2
usecs
calling irq_debugfs_init+0x0/0x40
@ 1
initcall irq_debugfs_init+0x0/0x40 returned 0 afte
r 28 usecs
calling irq_pm_init_ops+0x0/0
x18 @ 1
initcall irq_pm_ini
t_ops+0x0/0x18 returned 0 after 1 usecs
c
alling init_posix_timers+0x0/0x208 @ 1
initcall init_p
osix_timers+0x0/0x208 returned 0 after 70
usecs
calling init_posix_cpu_timers+0x0/
0xd4 @ 1
initcall init_posix_cpu_timers+0
x0/0xd4 returned 0 after 4 usecs
calling
timekeeping_init_ops+0x0/0x18 @ 1
initca
ll timekeeping_init_ops+0x0/0x18 returned
0 after 2 usecs
calling init_clocksource
_sysfs+0x0/0x74 @ 1
initcal
l init_clocksource_sysfs+0x0/0x74 returned 0 after 827 u
secs
calling init_timer_list_procfs+0x0/
0x3c @ 1
initcall init_time
r_list_procfs+0x0/0x3c returned 0 after 24
usecs
calling alarmtimer_init+0x0/0x17c @ 1
initcall
alarmtimer_init+0x0/0x17c returned 0 afte
r 681 usecs
calling clockevents_init_sys
fs+0x0/0x68 @ 1
initcall cl
ockevents_init_sysfs+0x0/0x68 returned 0 a
fter 806 usecs
calling sched_clock_syscore_init+0x0/0x
18 @ 1
initcall sched_clock_syscore_init+
0x0/0x18 returned 0 after 2
usecs
calling futex_init+0x0/0xbc @ 1
futex hash tabl
e entries: 256 (order: -1, 3072 bytes)
initcall futex_init+0x0/0xbc r
eturned 0 after 127 usecs
calling proc_modules_init+0x
0/0x38 @ 1
initcall proc_mo
dules_init+0x0/0x38 returned 0 after 25 usecs
calling
kallsyms_init+0x0/0x38 @ 1

initcall kallsyms_init+0x0/0x38 returned 0
after 19 usecs
calling ut
sname_sysctl_init+0x0/0x18 @ 1
initcall u
tsname_sysctl_init+0x0/0x18 returned 0 after 40 usecs
c
alling kswapd_init+0x0/0x18
@ 1
initcall kswapd_init+0x0/0x18 return
ed 0 after 273 usecs
calling extfrag_deb
ug_init+0x0/0x94 @ 1
initcall extfrag_deb
ug_init+0x0/0x94 returned 0 after 54 usecs

calling setup_vmstat+0x0/0x90 @ 1
init
call setup_vmstat+0x0/0x90 returned 0 afte
r 63 usecs
calling slab_proc_init+0x0/0x38 @ 1
initca
ll slab_proc_init+0x0/0x38 returned 0 afte
r 18 usecs
calling workingset_init+0x0/0
x50 @ 1
initcall workingset_init+0x0/0x50
returned 0 after 5 usecs
calling proc_vmalloc_init+0x
0/0x38 @ 1
initcall proc_vmalloc_init+0x0
/0x38 returned 0 after 18 usecs
calling
memblock_init_debugfs+0x0/0x
78 @ 1
initcall memblock_init_debugfs+0x0
/0x78 returned 0 after 46 usecs
calling
slab_proc_init+0x0/0x8 @ 1
initcall slab_
proc_init+0x0/0x8 returned 0 after 0 usecs

calling cpucache_init+0x0/0xa8 @ 1
ini
tcall cpucache_init+0x0/0xa8 returned 0 af
ter 6 usecs
calling fcntl_init+0x0/0x40
@ 1
initcall fcntl_init+0x0
/0x40 returned 0 after 21 usecs
calling
proc_filesystems_init+0x0/0x38 @ 1
initca
ll proc_filesystems_init+0x0/0x38 returned 0 after 23 us
ecs
calling start_dirtytime_writeback+0x
0/0x30 @ 1
initcall start_dirtytime_write
back+0x0/0x30 returned 0 after 6 usecs
ca
lling dio_init+0x0/0x40 @ 1
initcall dio
_init+0x0/0x40 returned 0 after 60 usecs

calling fsnotify_mark_init+0x0/0x3c @ 1

initcall fsnotify_mark_init+
0x0/0x3c returned 0 after 22
3 usecs
calling dnotify_init+0x0/0x80 @
1
initcall dnotify_init+0x0/0x80 returned
0 after 37 usecs
calling fanotify_user_
setup+0x0/0x60 @ 1
initcall
fanotify_user_setup+0x0/0x60 returned 0 after 22 usecs

calling aio_setup+0x0/0x84 @ 1
initcall
aio_setup+0x0
/0x84 returned 0 after 135 usecs
calling
proc_locks_init+0x0/0x38 @ 1
initcall pr
oc_locks_init+0x0/0x38 returned 0 after 24 usecs
calling init_mbcach
e+0x0/0x18 @ 1
initcall init_mbcache+0x0/
0x18 returned 0 after 3 usecs
calling in
it_grace+0x0/0xc @ 1
initcall init_grace+
0x0/0xc returned 0 after 10 usecs
calling
init_devpts_fs+0x0/0x68 @ 1
initcall in
it_devpts_fs+0x0/0x68 returned 0 after 126
usecs
calling ext4_init_fs+0x0/0x198 @
1
initcall ext4_init_fs+0x0/0x198 returne
d 0 after 355 usecs
calling journal_init
+0x0/0x118 @ 1
initcall jou
rnal_init+0x0/0x118 returned 0 after 129 u
secs
calling init_fat_fs+0x0/0x64 @ 1
initcall init_f
at_fs+0x0/0x64 returned 0 after 38 usecs

calling init_vfat_fs+0x0/0xc @ 1
initcal
l init_vfat_fs+0x0/0xc retur
ned 0 after 11 usecs
calling init_nfs_fs
+0x0/0x148 @ 1
initcall init_nfs_fs+0x0/0
x148 returned 0 after 677 usecs
calling init_nfs_v2+0x
0/0x18 @ 1
initcall init_nf
s_v2+0x0/0x18 returned 0 after 2 usecs
ca
lling init_nfs_v3+0x0/0x18 @ 1
initcall
init_nfs_v3+0x0/0x18 returned 0 after 2 us
ecs
calling init_nlm+0x0/0x70 @ 1
initc
all init_nlm+0x0/0x70 return
ed 0 after 81 usecs
calling init_nls_cp4
37+0x0/0x10 @ 1
initcall init_nls_cp437+0
x0/0x10 returned 0 after 1 usecs
calling
init_nls_cp850+0x0/0x10 @ 1
initcall ini
t_nls_cp850+0x0/0x10 returned 0 after 1 us
ecs
calling init_nls_iso8859_1+0x0/0x10
@ 1
initcall init_nls_iso8859_1+0x0/0x10
returned 0 after 1 usecs
calling init_nl
s_utf8+0x0/0x2c @ 1
initcall init_nls_utf
8+0x0/0x2c returned 0 after 10 usecs
call
ing ipc_init+0x0/0x18 @ 1
initcall ipc_i
nit+0x0/0x18 returned 0 after 46 usecs
ca
lling ipc_sysctl_init+0x0/0x18 @ 1
initc
all ipc_sysctl_init+0x0/0x18 returned 0 af
ter 53 usecs
calling crypto_algapi_init+
0x0/0x10 @ 1
initcall crypto_algapi_init+
0x0/0x10 returned 0 after 20 usecs
callin
g chainiv_module_init+0x0/0
xc @ 1
initcall chainiv_module_init+0x0/0xc returned 0
after 4 usecs
calling eseqiv_module_init
+0x0/0xc @ 1
initcall eseqi
v_module_init+0x0/0xc returned 0 after 2 u
secs
calling seqiv_module_init+0x0/0xc @
1
initcall seqiv_module_init+0x0/0xc ret
urned 0 after 2 usecs
calling hmac_modul
e_init+0x0/0xc @ 1
initcall hmac_module_i
nit+0x0/0xc returned 0 after 2 usecs
call
ing crypto_null_mod_init+0x0/0x4c @ 1
initcall crypto_null_mod_init+
0x0/0x4c returned 0 after 1138 usecs
call
ing sha256_generic_mod_init+0x0/0x10 @ 1

initcall sha256_generic_mod_init+0x0/0x10
returned 0 after 612 usecs

calling crypto_ecb_module_init+0x0/0xc @
1
initcall crypto_ecb_modu
le_init+0x0/0xc returned 0 after 5 usecs

calling crypto_ctr_module_init+0x0/0x38 @
1
initcall crypto_ctr_modu
le_init+0x0/0x38 returned 0 after 4 usecs

calling crypto_gcm_module_
init+0x0/0xcc @ 1
initcall
crypto_gcm_module_init+0x0/0xcc returned 0
after 8 usecs
calling crypto_ccm_module
_init+0x0/0x58 @ 1
initcall crypto_ccm_mo
dule_init+0x0/0x58 returned 0 after 5 usec
s
calling aes_init+0x0/0xc
@ 1
initcall aes_init+0x0/0xc returned 0
after 328 usecs
calling arc4_init+0x0/0
x10 @ 1
initcall arc4_init+0x0/0x10 retur
ned 0 after 602 usecs
calling deflate_mo
d_init+0x0/0xc @ 1
initcall
deflate_mod_init+0x0/0xc returned 0 after 318 usecs
ca
lling crc32c_mod_init+0x0/0xc @ 1
initca
ll crc32c_mod_init+0x0/0xc r
eturned 0 after 329 usecs
calling lzo_mo
d_init+0x0/0xc @ 1
initcall lzo_mod_init+
0x0/0xc returned 0 after 321 usecs
callin
g drbg_init+0x0/0x1b8 @ 1
initcall drbg_
init+0x0/0x1b8 returned 0 after 2319 usecs

calling jent_mod_init+0x0
/0x30 @ 1
initcall jent_mod_init+0x0/0x30
returned 0 after 5537 usecs
calling gha
sh_mod_init+0x0/0xc @ 1
initcall ghash_mod_init+0x0/0xc returned 0 after 331 usecs
calling proc_genhd_init+0x0/0x58 @ 1
initcall proc_genhd_init+0x0/0x58 returned 0 after 40 usecscalling noop_init+0x0/0xc @ 1io scheduler noop registered (default)
initcall noop_init+0x0/0xc returned 0 after 74 usecs
calling atmel_pwm_driver_init+0x0/0x10 @ 1
initcall atmel_pwm_driver_init+0x0/0x10 returned 0after 403 usecscalling atmel_hlcdc_pwm_driver_init+0x0/0x10 @ 1
initcall atmel_hlcdc_pwm_driver_init+0x0/0x10 returned 0 after 299 usecscalling atmel_tcb_pwm_driver_init+0x0/0x10 @ 1
initcall atmel_tcb_pwm_driver_init+0x0/0x10 returned 0 after 294 usecs
calling pwm_backlight_driver_init+0x0/0x10 @ 1
initcall pwm_backlight_driver_init+0x0/0x10 returned 0 after 820 usecs
calling atmel_lcdfb_driver_init+0x0/0x18 @ 1initcall atmel_l
cdfb_driver_init+0x0/0x18 returned -19 after 867 usecs
calling pty_init+0x0/0x3a8 @ 1
initcall pty_init+0x0/0x3a8 returned 0 after 4839 usecs
calling atmel_serial_init+0x0/0x4c @ 1fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16, base_baud = 8333333) is a ATMEL_SERIALconsole [ttyS0] enabledf801c000.serial: ttyS1 at MMIO 0xf801c000 (irq = 31, base_baud = 8333333) is a ATMEL_SERIAL

initcall atmel_serial_init+0x0/0x4c returned 0 after 2214496 usecs
calling hwrng_m
odinit+0x0/0xc @ 1
initcall hwrng
_modinit+0x0/0xc returned 0 after 565 usecs
calling atmel_trng_driver_init+0x0/0x10 @ 1
initcall atmel_trng_driver_init+0x0/0x10 returned 0 after 323 usecscalling drm_core_init+0x0/0xf8 @ 1
[drm] Initialized drm 1.1.0 20060810
initcall drm_core_init+0x0/0xf8 returned 0 after 3379 usecs
calling atmel_hlcdc_dc_platform_driver_init+0x0/0x10 @ 1
initcall atmel_hlcdc_dc_platform_driver_init+0x0/0x10 returned 0 after 301 usecs
calling panel_simple_init+0x0/0x1c @ 1

initcall panel_simple_init+0x0/0x1c returned 0 after 2617 usecs
calling topology_sysfs_init+0x0/0x20 @ 1
initcall topology_sysfs_init+0x0/0x20 returned 0 after 122 usecs
calling cacheinfo_sysfs_init+0x0/0x2e8 @ 1
initcall cacheinfo_sysfs_init+0x0/0x2e8 returned -2 after 1 usecscalling devcoredump_init+0x0/0x14 @ 1
initcall devcoredump_init+0x0/0x14 returned 0 after 121 usecs
calling brd_init+0x0/0x160 @ 1

brd: module loaded
initcall brd_init+0x0/0x160 returned 0 after 12158 usecs
calling loop_init+0x0/0x160 @ 1
loop: module loaded
initcall loop_init+0x0/0x160 returned 0 after 23099 usecs
calling ssc_driver_init+0x0/0x10 @ 1
ssc f0010000.ssc: Atmel SSC device at 0xc88a8000 (irq 28)
initcall ssc_driver_init+0x0/0x10 returned 0 after 6085 usecs
calling at24_init+0x0/0x94 @ 1
initcall at24_init+0x0/0x94 returned 0 after 176 usecs
calling atmel_hlcdc_driver_init+0x0/0x10 @ 1
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting
initcall atmel_hlcdc_driver_init+0x0/0x10 returned 0 after 29119 usecs
calling init_sd+0x0/0x160 @ 1
initcall init_sd+0x0/0x160 returned 0 after 244 usecs
calling init_mtd+0x0/0xd0 @ 1
initcall init_mtd+0x0/0xd0 returned 0 after 518 usecs
calling ofpart_parser_init+0x0/0x24 @ 1
initcall ofpart_parser_init+0x0/0x24 returned 0 after 1 usecs
calling cmdline_parser_init+0x0/0x2c @ 1
initcall cmdline_parser_init+0x0/0x2c returned 0 after 1 usecs
calling init_mtdblock+0x0/0xc @ 1
initcall init_mtdblock+0x0/0xc returned 0 after 8 usecs
calling cfi_probe_init+0x0/0x18 @ 1
initcall cfi_probe_init+0x0/0x18 returned 0 after 1 usecs
calling dataflash_driver_init+0x0/0x10 @ 1
initcall dataflash_driver_init+0x0/0x10 returned 0 after 140 usecs
calling nand_base_init+0x0/0x20 @ 1
initcall nand_base_init+0x0/0x20 returned 0 after 8 usecs
calling atmel_nand_driver_init+0x0/0x10 @ 1
atmel_nand 40000000.nand: Use On Flash BBT
atmel_nand 40000000.nand: Using dma0chan2 for DMA transfers.
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
atmel_nand 40000000.nand: minimum ECC: 4 bits in 512 bytes
atmel_nand 40000000.nand: WARNING: Be Caution! Using different PMECC parameters from Nand ONFI ECC reqirement.
atmel_nand 40000000.nand: Initialize PMECC params, cap: 2, sector: 512
nand: WARNING: 40000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
5 ofpart partitions found on MTD device atmel_nand
Creating 5 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "at91bootstrap"
0x000000040000-0x0000000c0000 : "u-boot"
0x0000000c0000-0x000000200000 : "U-Boot Env"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000020000000 : "rootfs"
mtd: partition "rootfs" extends beyond the end of device "atmel_nand" -- size truncated to 0xf800000
initcall atmel_nand_driver_init+0x0/0x10 returned 0 after 128320 usecs
calling atmel_spi_driver_init+0x0/0x10 @ 1
initcall atmel_spi_driver_init+0x0/0x10 returned 0 after 334 usecs
calling spi_gpio_driver_init+0x0/0x10 @ 1
initcall spi_gpio_driver_init+0x0/0x10 returned 0 after 295 usecs
calling net_olddevs_init+0x0/0x68 @ 1
initcall net_olddevs_init+0x0/0x68 returned 0 after 35 usecs
calling phy_module_init+0x0/0x10 @ 1
initcall phy_module_init+0x0/0x10 returned 0 after 523 usecs
calling phy_module_init+0x0/0x10 @ 1
initcall phy_module_init+0x0/0x10 returned 0 after 1542 usecs
calling can_dev_init+0x0/0x28 @ 1
CAN device driver interface
initcall can_dev_init+0x0/0x28 returned 0 after 2449 usecs
calling at91_can_driver_init+0x0/0x10 @ 1
initcall at91_can_driver_init+0x0/0x10 returned 0 after 417 usecs
calling macb_driver_init+0x0/0x10 @ 1
macb f802c000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
blue_z
Location: USA
Posts: 1504
Joined: Thu Apr 19, 2007 10:15 pm

Re: can not boot linux

Sat Feb 11, 2017 2:37 am

smart wrote: according to you say that set U-BOOT 's bootargs=initcall_debug ignore_loglevel.
but i can not understand anything ,
I wrote that you should append those two parameters, which means that they should be added to the existing kernel parameters.
Instead you did a total replacement.

The output (if it's valid) indicates that the init/probe routine of macb is entered but does not return.
calling macb_driver_init+0x0/0x10 @ 1
macb f802c000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
Looks like mdiobus_register() is successful, but perhaps macb_mii_init() doesn't complete.

Since you still neglect or refuse to identify your board, your hardware is suspect, and/or your Device Tree has issues.
HW issues should be tested with U-Boot rather than trying to boot Linux.
The older kernel (with a different DT?) seemed to complete macb_probe(), but there's no initcall information to confirm that.

Regards

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: No registered users and 2 guests