Dear Guillaume, Thanks for answering my question, I really appreciate that. I didn't got any response yet. Let me try to answer your questions. ----------------------------------------
Date: Fri, 5 Apr 2013 10:17:43 +0200 Subject: Re: [opensuse-arm] OpenSUSE 12.3 for armv7 on Mirabox fails
Then I thought I might use the precompiled uImage (from the debian distribution) together with the /lib/modules files from the debian distribution, so I copied /lib/modules from debian rootfs to the opensuse rootfs and the uImage to the FAT partition of my sdcard. It did boot but during the boot process it gave all strange errors and did not complete. [...] At some moment, I thought that might be logical because of the armv5 arch from debian and armv7 from opensuse.
It may be due to armv5 vs armv7. But you could give us more details about the strange errors.
I have attached a full bootlog below. Basically it reads uImage, then it boots, at some point it says:
<27>systemd[1]: Failed to enumerate cgroup controllers: No such file or directory
<30>systemd[1]: systemd 195 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; suse)
Welcome to [0;32mopenSUSE 12.3 (Dartmouth) (armv7hl)[0m!
<27>systemd[1]: Failed to insert module 'autofs4'
<30>systemd[1]: Set hostname to
So that led me to the idea of compiling my own kernel on the mirabox when being in a chroot opensuse. I grabbed the kernel sources from http://www.plugcomputer.org [...]
Could you access it via SSH maybe ? (To know if it is running but display nothing or if it is crashing).
No, I also couldn't reach it pinging.
You forgot to do a "make modules" before your "make modules_install" but the last one should trigger the first one if not manually called before.
I think make modules has been triggered since I got modules in /lib/modules.
Moreover, if you install kernel stuff in chroot, then you cannot boot directly on it since it is in chroot, not in the real rootfs or FAT partition.
>Tag MAC [...]:4e:ad:f0 >Tag MAC [...]:4e:ad:f0 Memory policy: ECC disabled, Data cache writealloc Built 1 zonelists in Zone order, mobility grouping off. Total pages: 260096 Kernel command line: console=ttyS0,115200 root=/dev/sdb2 rootwait PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 512MB 296MB 216MB = 1024MB total Memory: 1032304k/1032304k available, 16272k reserved, 221184K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xf3000000 - 0xfa800000 ( 120 MB) lowmem : 0xc0000000 - 0xf2800000 ( 808 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc0031000 ( 164 kB) .text : 0xc0031000 - 0xc06a5000 (6608 kB) .data : 0xc06a6000 - 0xc06d9d20 ( 208 kB) Hierarchical RCU implementation. RCU-based detection of stalled CPUs is disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:256 axp_time_init Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
Before I booted I moved the uImage to the boot partition (FAT) of my sd card.
Do you have any hints how I can get this working? Can I help in some way?
Thanks again,
Ge.
== now the full bootlog follows (from putty)
reading uImage
3439396 bytes read
## Booting kernel from Legacy Image at 06400000 ...
Image Name: Linux-2.6.35.9
Created: 2012-08-24 2:13:39 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3439332 Bytes = 3.3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.9 (root@localhost.localdomain) (gcc version 4.4.1 (sdk4.0-ct-ng-1.8.0) ) #12 Thu Aug 23 22:13:28 EDT 2012
CPU: Marvell PJ4Bv7 Processorÿÿ [561f5811] revision 1 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada-370
Using UBoot passing parameters structure
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
xor: measuring software checksum speed
arm4regs : 1149.600 MB/sec
8regs : 814.400 MB/sec
32regs : 1145.200 MB/sec
xor: using function: arm4regs (1149.600 MB/sec)
NET: Registered protocol family 16
L0 cache Enabled
Speculative Prefetch Disabled
aurora_l2_init
Aurora: Enabling L2
AuroraL2: System L2 cache support initialised
Support IO coherency.
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 512MB
SDRAM_CS1 ....base 20000000, size 512MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
DEVICE_CS0 ....base f2000000, size 32MB
DEVICE_CS1 ....no such
DEVICE_CS2 ....no such
DEVICE_CS3 ....no such
PEX0_MEM ....base e0000000, size 32MB
PEX0_IO ....base f1100000, size 1MB
PEX1_MEM ....base e2000000, size 32MB
PEX1_IO ....base f1200000, size 1MB
INTER_REGS ....base d0000000, size 1MB
DMA_UART ....no such
SPI_CS0 ....base f0000000, size 16MB
SPI_CS1 ....no such
SPI_CS2 ....no such
SPI_CS3 ....no such
SPI_CS4 ....no such
SPI_CS5 ....no such
SPI_CS6 ....no such
SPI_CS7 ....no such
BOOT_ROM_CS ....no such
DEV_BOOTCS ....base f5000000, size 16MB
PMU_SCRATCHPAD ....no such
CRYPT0_ENG ....base c8010000, size 64KB
Marvell Armada370 Board-- DB-88F6710-BP Soc: MV6710 A1 LE
LSP version: Armada370_LSP_1.0.2_NQ_p10
Detected Tclk 200000000, SysClk 600000000, FabricClk 600000000
Armada-XP Performance Monitor Unit detected (Marvell ID)!!!
hw perfevents: enabled with Marvell Sheeva-PJ4B PMU driver, 7 counters available
Marvell USB EHCI Host controller #0: e0045600
Marvell USB EHCI Host controller #1: e0045400
pcie is init by steven
pcie is init num= 2
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:01:01.0: BAR 0: assigned [mem 0xe2000000-0xe200ffff 64bit]
pci 0000:01:01.0: BAR 0: set to [mem 0xe2000000-0xe200ffff 64bit] (PCI address [0xe2000000-0xe200ffff]
pci 0000:01:01.0: BAR 2: assigned [mem 0xe2010000-0xe2010fff 64bit]
pci 0000:01:01.0: BAR 2: set to [mem 0xe2010000-0xe2010fff 64bit] (PCI address [0xe2010000-0xe2010fff]
pci 0000:01:01.0: BAR 4: assigned [mem 0xe2011000-0xe2011fff 64bit]
pci 0000:01:01.0: BAR 4: set to [mem 0xe2011000-0xe2011fff 64bit] (PCI address [0xe2011000-0xe2011fff]
pcie is init
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1 121 MB/s
raid6: int32x2 157 MB/s
raid6: int32x4 198 MB/s
raid6: int32x8 226 MB/s
raid6: using algorithm int32x8 (226 MB/s)
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource armada370_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
NFP (FDB) init 16384 entries, 65536 bytes
NFP (arp) init 16384 entries, 65536 bytes
NFP (fib) init 16384 entries, 65536 bytes
NFP (ct) init 16384 entries, 65536 bytes
cesadev_init(c000ff24)
mvCesaInit: channels=1, session=640, queue=64
Switched to NOHz mode on CPU #0
Armada XP hwmon thermal sensor initialized.
Initializing Armada-XP CPU power management (DISABLED)
highmem bounce pool size: 64 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1584
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Initializing ths8200_init
Initializing dove_adi9889_init
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xd0012000 (irq = 41) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: cannot get clkdev
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 55
ata2: SATA max UDMA/133 irq 55
mvSFlashInit ERROR: Unknown SPI flash device!
ERROR: sflash_probe - Failed to initialize the SFlash.
armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron NAND 1GiB 3,3V 8-bit)
Creating 3 MTD partitions on "armada-nand":
0x000000000000-0x000000400000 : "UBoot"
0x000000400000-0x000000800000 : "UImage"
0x000000800000-0x000040000000 : "Root"
0 - Base 0x00000000 , Size = 0x20000000.
1 - Base 0x20000000 , Size = 0x20000000.
4 - Base 0xf2000000 , Size = 0x02000000.
8 - Base 0xe0000000 , Size = 0x02000000.
9 - Base 0xf1100000 , Size = 0x00100000.
10 - Base 0xe2000000 , Size = 0x02000000.
11 - Base 0xf1200000 , Size = 0x00100000.
12 - Base 0xd0000000 , Size = 0x00100000.
14 - Base 0xf0000000 , Size = 0x01000000.
23 - Base 0xf5000000 , Size = 0x01000000.
25 - Base 0xc8010000 , Size = 0x00010000.
o 2 Giga ports supported
o SKB recycle supported (Enabled)
o NETA acceleration mode 1
o RX Queue support: 8 Queues * 128 Descriptors
o TX Queue support: 8 Queues * 512 Descriptors
o GSO supported
o GRO supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Network Fast Processing (NFP) supported
o NFP Bridging supported
o NFP VLAN Processing supported
o NFP Routing (FIB) supported
o NFP NAT supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Driver DEBUG statistics enabled
o Switch support enabled
o Loading network interface(s)
o Port 0 is connected to Linux netdevice
giga p=0: mtu=1500, mac=e0027e78
o eth0, ifindex = 2, GbE port = 0
o Port 1 is connected to Linux netdevice
giga p=1: mtu=1500, mac=e0027e78
o eth1, ifindex = 3, GbE port = 1
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k4
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
sky2: driver version 1.28
usbcore: registered new interface driver zd1201
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.0: Marvell Orion EHCI
ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.0: irq 45, io base 0xfbb50100
ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_marvell ehci_marvell.1: Marvell Orion EHCI
ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2
ehci_marvell ehci_marvell.1: irq 46, io base 0xfbb51100
ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ata1: SATA link down (SStatus 0 SControl F300)
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for cp210x
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
Linux telephony interface: v1.00
Loading Marvell vpapi device
Loading Marvell tdm device
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
cpuidle: using governor ladder
cpuidle: using governor menu
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor )
mv_xor mv_xor.1: Marvell XOR: ( xor )
mmc0: new high speed SDIO card at address 0001
mv_xor mv_xor.2: Marvell XOR: ( cpy )
mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
No device for DAI CS42L51
mv88fx_snd mv88fx_snd.0: cannot get clkdev
cs42l51: chipid/revision = fb
asoc: CS42L51 <-> mv88fx-i2s mapping ok
ALSA device list:
#0: mv_i2s (CS42L51)
oprofile: using arm/mrvl_pj4b
nf_conntrack version 0.5.0 (16129 buckets, 64516 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
usb 1-1: new high speed USB device using ehci_marvell and address 2
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear