Initramfs fails to start with SAMA5

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

ranran
Posts: 18
Joined: Wed Oct 03, 2018 11:39 am

Initramfs fails to start with SAMA5

Wed Nov 07, 2018 4:34 pm

Hello,

I have some difficulties to make initramfs functional with SAMA5D27 SOM1 Evaluation Kit.
I am trying to have a functional initramfs. I first verified that I have a functional linux when used with filesystem on sd.

I used the following bootcmd:

Code: Select all

=> setenv bootcmd_boot "fatload mmc 0:1 0x22000000 zImage; fatload mmc 0:1 0x21000000 board.dtb; bootz 0x22000000 - 0x21000000;"
I than tried to make initramfs as following: I configured the kernel for initramfs:

Code: Select all

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/media/sdc/at91/tmp/at91/initramfs.cpio"
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
Created ramfs:
cd to rootfs and:

Code: Select all

# find . | cpio --create --format='newc'  > ../initramfs.cpio
I build kernel, (resulted zImage is now larger of course than before).

I then changed the following u-boot env:

Code: Select all

=> setenv bootargs "console=ttyS0,115200 rw atmel.pm_modes=standby,ulp1"
=>
=> save
On reset, we get stuck as following:

Saving Environment to FAT... writing uboot.env
OK
=> boot
25859560 bytes read in 1549 ms (15.9 MiB/s)
26651 bytes read in 14 ms (1.8 MiB/s)
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 27b4b000, end 27b5481a ... OK

Starting kernel ...  
And no more printing...

I than tried another method:
create ramdisk:

Code: Select all

# find . | cpio --create --format='newc'  > ../ramdisk.img
# mkimage -A arm -O linux -T ramdisk -C none -a 0x20008000 -n "Label you want" -d ./ramdisk.img ./uramdisk.img
change bootargs:

Code: Select all

setenv bootcmd_boot2 "fatload mmc 0:1 0x23000000 uramdisk.img; fatload mmc 0:1 0x22000000 zImage; fatload mmc 0:1 0x21000000 board.dtb; bootz 0x22000000 0x23000000 0x21000000;"
setenv bootargs "console=ttyS0,115200 atmel.pm_modes=standby,ulp1"
And it still as following: :(

Code: Select all

=> boot
22159613 bytes read in 1325 ms (15.9 MiB/s)
25859560 bytes read in 1550 ms (15.9 MiB/s)
26651 bytes read in 14 ms (1.8 MiB/s)
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
Is there any idea how to overcome this ?
Can anyone please help ?

Ranran
Last edited by ranran on Thu Nov 08, 2018 11:48 pm, edited 1 time in total.
blue_z
Location: USA
Posts: 1759
Joined: Thu Apr 19, 2007 10:15 pm

Re: Initramfs fails to start with SAMA5 !

Thu Nov 08, 2018 3:26 am

ranran wrote: Re: Initramfs fails to start with SAMA5 !
You cannot "start" a filesystem.

ranran wrote: I have some difficulties to make initramfs functional with SAMA5D27 SOM1 Evaluation Kit.
...
On reset, we get stuck as following:

Code: Select all

Starting kernel ...  
And no more printing...
That's a failure to decompress and start the execution of the Linux kernel, and may have nothing to do with initramfs.
You need to enable verbose decompression, and for insurance, the earlyprintk feature.

ranran wrote: I than tried another method:
create ramdisk:

Code: Select all

# find . | cpio --create --format='newc'  > ../ramdisk.img
# mkimage -A arm -O linux -T ramdisk -C none -a 0x20008000 -n "Label you want" -d ./ramdisk.img ./uramdisk.img
And it still as following: :(

Code: Select all

Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
That's a predictable outcome for nonsensical application of the mkimage utility.

It's not obvious what you're doing wrong, but you should consider using Buildroot to ensure that you're using a valid toolchain and creating a proper initramfs.

Regards
ranran
Posts: 18
Joined: Wed Oct 03, 2018 11:39 am

Re: Initramfs fails to start with SAMA5 !

Thu Nov 08, 2018 8:13 am

Hello blue_z,


May I please know what is the bootargs,bootcmd that should be used when using initramfs?
Is there any tutorial or wiki which explain how to boot initramfs with at91 ?

As I said, we have a standalone rootfs and standalone kernel, which successfully boot if the rootfs is in sd.
The issue here is on changing the boot from rootfs in sd to rootfs as ramfs (the issue is not related to buildroot build).

Thank you,
ranran
ranran
Posts: 18
Joined: Wed Oct 03, 2018 11:39 am

Re: Initramfs fails to start with SAMA5 !

Thu Nov 08, 2018 9:00 am

Hi,

I add to my last comment that I also tried to add earlyprintk
=> setenv bootargs "console=ttyS0,115200 earlyprintk atmel.pm_modes=standby,ulp1"
But still it hangs in "starting kernel..."
The only change is in add the cpio file in kernel config:
CONFIG_INITRAMFS_SOURCE

Why should this only change result in failure to start kernel ?

I added earlyprintk as you suggested.
It shows a kernel crash on populate_rootfs (see below).
Do you think I maybe I miss something in my bootargs (also see below) ?
Maybe it is a memory issue ? with cpio the zImage is ~3M with cpio it gets to ~50M (can also create cpio.gz for ~22M but that also failed)

=> pri bootargs
bootargs=console=ttyS0,115200 earlyprintk atmel.pm_modes=standby,ulp1
=> pri bootcmd_boot2
bootcmd_boot2=fatload mmc 0:1 0x22000000 zImage; fatload mmc 0:1 0x21000000 board.dtb; bootz 0x22000000 - 0x21000000;
=> boot

Code: Select all

25860296 bytes read in 1563 ms (15.8 MiB/s)
26651 bytes read in 14 ms (1.8 MiB/s)
## Flattened Device Tree blob at 21000000
   Booting using the fdt blob at 0x21000000
   Loading Device Tree to 27b4b000, end 27b5481a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.7.10+ (user@user-VirtualBox) (gcc version 6.4.0 (Buildroot 2018.02-00001-g3ef3174) ) #11 Thu Nov 8 01:07:20 CST 2018
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Atmel SAMA5D27 SOM1 EK
bootconsole [earlycon0] enabled
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 earlyprintk atmel.pm_modes=standby,ulp1
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: 98696K/131072K available (6298K kernel code, 183K rwdata, 1716K rodata, 22528K init, 147K bss, 32376K 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 - 0xc08d3a54   (9007 kB)
      .init : 0xc0900000 - 0xc1f00000   (22528 kB)
      .data : 0xc1f00000 - 0xc1f2dc60   ( 184 kB)
       .bss : 0xc1f2dc60 - 0xc1f52988   ( 148 kB)
NR_IRQS:16 nr_irqs:16 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
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 0x20100000 - 0x20100058
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: Could not find matching SoC description
No ATAGs?
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc885c000
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
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.
Kernel panic - not syncing: write error
CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.10+ #11
Hardware name: Atmel SAMA5
[<c010cbfc>] (unwind_backtrace) from [<c010a700>] (show_stack+0x10/0x14)
[<c010a700>] (show_stack) from [<c0165ba0>] (panic+0xc4/0x244)
[<c0165ba0>] (panic) from [<c0902d5c>] (populate_rootfs+0x3c/0x27c)
[<c0902d5c>] (populate_rootfs) from [<c01017a0>] (do_one_initcall+0x44/0x16c)
[<c01017a0>] (do_one_initcall) from [<c0900d70>] (kernel_init_freeable+0x130/0x1c0)
[<c0900d70>] (kernel_init_freeable) from [<c0635764>] (kernel_init+0x8/0x110)
[<c0635764>] (kernel_init) from [<c0107558>] (ret_from_fork+0x14/0x3c)
---[ end Kernel panic - not syncing: write error


I am not sure where is the problem, I check and recheck for a day and found nothing yet.
Thank you for any idea,

ranran
blue_z
Location: USA
Posts: 1759
Joined: Thu Apr 19, 2007 10:15 pm

Re: Initramfs fails to start with SAMA5 !

Thu Nov 08, 2018 10:43 am

ranran wrote: May I please know what is the bootargs,bootcmd that should be used when using initramfs?
The bootargs does not have to change when using an initramfs. The initramfs is automatically detected, and any parameters in the command line pertaining to a rootfs are simply ignored.
The bootcmd does not have to change when using an initramfs so long as the kernel does not step on any other image and/or no other image steps on the kernel.

ranran wrote: I add to my last comment that I also tried to add earlyprintk
=> setenv bootargs "console=ttyS0,115200 earlyprintk atmel.pm_modes=standby,ulp1"
But still it hangs in "starting kernel..."

...

I added earlyprintk as you suggested.
It shows a kernel crash on populate_rootfs (see below).
Twice you claim you "add earlyprintk", but with vastly different results!
Obviously the second report is with a different kernel image than what you were booting with previously.
You conveniently omit that any change has occurred.
What else are you hiding?
ranran
Posts: 18
Joined: Wed Oct 03, 2018 11:39 am

Re: Initramfs fails to start with SAMA5 !

Thu Nov 08, 2018 1:55 pm

Dear blue_z,

You are correct.
I edited my question and thought that I had removed what was not relevant ( earlyprintk didn't work at first, but later I managed to make it functional) . I probably forgot something to delete. Sorry again for the confusion.

The last post shows the log of the image in which we linked inside kernel the rootfs (cpio format).
Yet, it stops to boot (please see the log in previous post).
The kernel panic hints about populate_rootfs , but I am not sure what to check now...

Maybe it is issue related to size of image ? to the format of the initramfs cpio , something in kernel config , or something else, I don't know,

Thank you very much for the assistance,
ranran
ranran
Posts: 18
Joined: Wed Oct 03, 2018 11:39 am

Re: Initramfs fails to start with SAMA5

Thu Nov 08, 2018 11:50 pm

I would please like to add to my last post, that I also tried now to generate image in buildroot with "link initramfs to RAM...." , but it still fails:

Code: Select all

=> pri bootargs
bootargs=console=ttyS0,115200 atmel.pm_modes=standby,ulp1
=> pri bootcmd
  bootcmd bootcmd_boot bootcmd_boot2
=> pri bootcmd_boot2
bootcmd_boot2=fatload mmc 0:1 0x22000000 zImage; fatload mmc 0:1 0x21000000 board.dtb; bootz 0x22000000 - 0x21000000;
=> boot
3904032 bytes read in 243 ms (15.3 MiB/s)
26651 bytes read in 15 ms (1.7 MiB/s)
## Flattened Device Tree blob at 21000000
   Booting using the fdt blob at 0x21000000
   Loading Device Tree to 27b4b000, end 27b5481a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.7.10+ (user@user-VirtualBox) (gcc version 6.4.0 (Buildroot 2018.02-00001-g3ef3174) ) #13 Thu Nov 8 04:40:23 CST 2018
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Atmel SAMA5D27 SOM1 EK
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 atmel.pm_modes=standby,ulp1
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: 120200K/131072K available (6298K kernel code, 183K rwdata, 1716K rodata, 1024K init, 147K bss, 10872K 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 - 0xc08d3a54   (9007 kB)
      .init : 0xc0900000 - 0xc0a00000   (1024 kB)
      .data : 0xc0a00000 - 0xc0a2dc60   ( 184 kB)
       .bss : 0xc0a2dc60 - 0xc0a52988   ( 148 kB)
NR_IRQS:16 nr_irqs:16 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
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 0x20100000 - 0x20100058
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: Could not find matching SoC description
No ATAGs?
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc885c000
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
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)
workingset: timestamp_bits=29 max_order=15 bucket_order=0
io scheduler noop registered (default)
pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
f8020000.serial: ttyS0 at MMIO 0xf8020000 (irq = 32, base_baud = 5125000) is a ATMEL_SERIAL
console [ttyS0] enabled
f8024000.serial: ttyS2 at MMIO 0xf8024000 (irq = 33, base_baud = 5125000) is a ATMEL_SERIAL
fc00c000.serial: ttyS1 at MMIO 0xfc00c000 (irq = 35, base_baud = 5125000) is a ATMEL_SERIAL
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
at91_i2c f8038600.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8038600.i2c: Using FIFO (16 data)
at91_i2c f8038600.i2c: AT91 i2c bus driver (hw version: 0x704).
atmel_spi f8000000.spi: version: 0x311
atmel_spi f8000000.spi: Using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
atmel_spi f8000000.spi: Using FIFO (16 data)
atmel_spi f8000000.spi: Atmel SPI Controller at 0xf8000000 (irq 26)
atmel_spi fc018400.spi: version: 0x311
atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
atmel_spi fc018400.spi: Using FIFO (16 data)
atmel_spi fc018400.spi: Atmel SPI Controller at 0xfc018400 (irq 172)
CAN device driver interface
libphy: MACB_mii_bus: probed
Micrel KSZ8081 or KSZ8091 f8008000.etherne:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8008000.etherne:00, irq=170)
macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 27 (54:10:ec:33:7b:7c)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 500000.ehci: EHCI Host Controller
atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 500000.ehci: irq 18, io mem 0x00500000
atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.7.10+ ehci_hcd
usb usb1: SerialNumber: 500000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 400000.ohci: USB Host Controller
at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 400000.ohci: irq 18, io mem 0x00400000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.7.10+ ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
atmel_usba_udc 300000.gadget: MMIO registers at 0xfc02c000 mapped at c88aa000
atmel_usba_udc 300000.gadget: FIFO at 0x00300000 mapped at c8e00000
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
rtc rtc0: alarm rollover not handled
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc f80480b0.rtc: rtc core: registered f80480b0.rtc as rtc0
at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
AT91: Starting after user reset
sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-at91 a0000000.sdio-host: update clk mul to 25 as gck rate is 320000000 Hz
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
sdhci-at91 b0000000.sdio-host: update clk mul to 25 as gck rate is 320000000 Hz
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
atmel_aes f002c000.aes: version: 0x500
atmel_aes f002c000.aes: Atmel AES - Using dma0chan2, dma0chan3 for DMA transfers
atmel_sha f0028000.sha: version: 0x510
atmel_sha f0028000.sha: using dma0chan4 for DMA transfers
atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes fc044000.tdes: version: 0x703
atmel_tdes fc044000.tdes: using dma0chan5, dma0chan6 for DMA transfers
atmel_tdes fc044000.tdes: Atmel DES/TDES
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c fc028000.i2c: AT91 i2c bus driver (hw version: 0x704).
input: gpio_keys as /devices/platform/gpio_keys/input/input0
at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 16:01:22 UTC (1325433682)
ALSA device list:
  No soundcards found.
atmel_usart f8020000.serial: using dma0chan7 for rx DMA transfers
atmel_usart f8020000.serial: using dma0chan8 for tx DMA transfers
mmc0: new ultra high speed DDR50 SDHC card at address 0007
mmcblk0: mmc0:0007 SS08G 7.21 GiB
 mmcblk0: p1
VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
0100            8536 ram0  (driver?)
b300         7563264 mmcblk0  driver: mmcblk
  b301          245760 mmcblk0p1 00021cc2-01
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.10+ #13
Hardware name: Atmel SAMA5
[<c010cbfc>] (unwind_backtrace) from [<c010a700>] (show_stack+0x10/0x14)
[<c010a700>] (show_stack) from [<c0165ba0>] (panic+0xc4/0x244)
[<c0165ba0>] (panic) from [<c09011c8>] (mount_block_root+0x1b0/0x280)
[<c09011c8>] (mount_block_root) from [<c09014a4>] (mount_root+0x120/0x128)
[<c09014a4>] (mount_root) from [<c0901628>] (prepare_namespace+0x17c/0x1c4)
[<c0901628>] (prepare_namespace) from [<c0900df0>] (kernel_init_freeable+0x1b0/0x1c0)
[<c0900df0>] (kernel_init_freeable) from [<c0635764>] (kernel_init+0x8/0x110)
[<c0635764>] (kernel_init) from [<c0107558>] (ret_from_fork+0x14/0x3c)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
random: nonblocking pool is initialized
Thank you,
ran

Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests