Wandboard new kernel

This forum is for supported devices using an ARMv7 Freescale SoC.

Re: Wandboard new kernel

Postby kmihelich » Mon May 12, 2014 9:01 pm

Re-run the pacman command to get the newest revision, you're running the first copy.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Wandboard new kernel

Postby CasualNinja » Mon May 12, 2014 10:13 pm

Sorry, I don't get any newer kernel than build "Mon May 12 14:37:19 MDT 2014" with that package. Can you try another file name please?
CasualNinja
 
Posts: 5
Joined: Wed Jul 31, 2013 7:10 pm

Re: Wandboard new kernel

Postby andrenam » Tue May 13, 2014 12:23 am

So, I've finally hooked up a serial cable.

@CasualNinja: Indeed, you're right. As soon as I eject the second microsd card, the board boots up fine. :)

@kmihelich: I just installed your new kernel on a 8GB microsd card (rootfs). The second microsd card is a 16GB card with one large ext4 data partition. With just the 8GB microsd card inserted, the board boots up without problems. With both cards, I get the following messages on the serial console:
$this->bbcode_second_pass_code('', '
U-Boot 2014.01 (Mar 19 2014 - 15:46:50) Arch Linux ARM

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Wandboard
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 1 0
mmc0 is current device
SD/MMC found on device 0
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loaduimage ...
** File not found /boot/uImage **
Running default loadzimage ...
3601392 bytes read in 218 ms (15.8 MiB/s)
[41C
41975 bytes read in 89 ms (460 KiB/s)
[37C
Booting from mmc ...
[20C
Kernel image @ 0x12000000 [ 0x000000 - 0x36f3f0 ]
[49C
## Flattened Device Tree blob at 18000000
[41C
Booting using the fdt blob at 0x18000000
[43C
Using Device Tree in place at 18000000, end 1800d3f6
[55C
Starting kernel ...
[19C
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.17-1-ARCH (nobody@root-chroot-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 SMP Mon May 12 14:37:19 MDT 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Wandboard Quad based on Freescale i.MX6 Quad
Truncating RAM at 10000000-8fffffff to -7f7fffff (vmalloc region overlap).
cma: CMA: reserved 256 MiB at 6e000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @81c02000 s9344 r8192 d15232 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 453136
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rw rootwait video=
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
allocated 3653632 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 1784MB = 1784MB total
Memory: 1530168k/1530168k available, 296648k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0x80000000 - 0xef800000 (1784 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80cbf5ac (13022 kB)
.init : 0x80cc0000 - 0x80d10480 ( 322 kB)
.data : 0x80d12000 - 0x80d729a0 ( 387 kB)
.bss : 0x80d729a0 - 0x80dea0d0 ( 478 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
CPU identified as i.MX6Q, silicon rev 1.2
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x806b4b10 - 0x806b4b68
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
xor: measuring software checksum speed
arm4regs : 1102.000 MB/sec
8regs : 857.200 MB/sec
32regs : 902.000 MB/sec
xor: using function: arm4regs (1102.000 MB/sec)
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Use WDOG1 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1125 mV
vdd3p0: 2800 <--> 3150 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2425 mV
cpu: 725 <--> 1450 mV at 1150 mV
vddpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1175 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
raid6: int32x1 91 MB/s
raid6: int32x2 128 MB/s
raid6: int32x4 128 MB/s
raid6: int32x8 145 MB/s
raid6: using algorithm int32x8 (145 MB/s)
raid6: using intx1 recovery algorithm
mxs-dma 110000.dma-apbh: initialized
1P8V: 1800 mV
2P5V: 2500 mV
3P3V: 3300 mV
usb_otg_vbus: 5000 mV
vgaarb: loaded
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
imx6q-pcie 1ffc000.pcie: phy link never came up
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x1000-0x10000]
pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 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.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
pureg-dummy: no parameters
imx6_busfreq busfreq.15: DDR medium rate not supported.
Bus freq driver module loaded
wandboard-rfkill rfkill.25: Wandboard rfkill initialization
wandboard-rfkill rfkill.25: initialize wifi chip
wandboard-rfkill rfkill.25: wifi-rfkill registered.
wandboard-rfkill rfkill.25: initialize bluetooth chip
wandboard-rfkill rfkill.25: bluetooth-rfkill registered.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
bio: create slab <bio-1> at 1
Btrfs loaded
msgmni has been set to 3500
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: WEIM driver registered.
MIPI DSI driver module loaded
mxc_sdc_fb fb.26: register mxc display driver hdmi
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb fb.26: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz
imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
mxc_sdc_fb fb.26: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz
Console: switching to colour frame buffer device 240x67
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 1.1
imx-sdma 20ec000.sdma: initialized
mxc_sdc_fb fb.26: 640x480 h_sync,r,l: 96,16,48 v_sync,l,u: 2,10,33 pixclock=25175000 Hz
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
serial: Freescale lpuart driver
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
mxc_sdc_fb fb.26: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz
brd: module loaded
loop: module loaded
Wait for CR ACK error!
sata phy RX_PLL is stable!
ahci: SSS flag set, parallel bus scan disabled
ahci ahci: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
ci_hdrc ci_hdrc.1: doesn't support gadget
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
mxc_v4l2_output v4l2_out.28: V4L2 device registered as video16
mxc_v4l2_output v4l2_out.28: V4L2 device registered as video17
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=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
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode
mmc0: no vqmmc regulator found
ata1: SATA link down (SStatus 0 SControl 300)
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
mmc1: no vqmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
mmc2: no vqmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA16G 14.8 GiB
mmcblk0: p1
mmc1: queuing unknown CIS tuple 0x80 (50 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: queuing unknown CIS tuple 0x80 (4 bytes)
mmc1: queuing unknown CIS tuple 0x02 (1 bytes)
mmc1: new SDIO card at address 0001
mmc2: host does not support reading read-only switch. assuming write-enable.
Galcore version 4.6.9.9754
mmc2: new high speed SDHC card at address e624
mmcblk1: mmc2:e624 SU08G 7.40 GiB
mmcblk1: p1
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered
mxc_vpu 2040000.vpu: VPU initialized
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
caam 2100000.caam: job rings = 2, qi = 0
caam 2100000.caam: authenc-hmac-md5-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-aes-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-aes-caam
caam 2100000.caam: authenc-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-des3_ede-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-des3_ede-caam
caam 2100000.caam: authenc-hmac-md5-cbc-des-caam
caam 2100000.caam: authencesn-hmac-md5-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha1-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha1-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha224-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha224-cbc-des-caam
caam 2100000.caam: authenc-hmac-sha256-cbc-des-caam
caam 2100000.caam: authencesn-hmac-sha256-cbc-des-caam
caam 2100000.caam: ecb-des-caam
caam 2100000.caam: ecb-arc4-caam
caam 2100000.caam: ecb-aes-caam
caam 2100000.caam: ctr-aes-caam
caam 2100000.caam: cbc-aes-caam
caam 2100000.caam: ecb-des3-caam
caam 2100000.caam: cbc-3des-caam
caam 2100000.caam: cbc-des-caam
caam 2100000.caam: fsl,sec-v4.0 algorithms registered in /proc/crypto
platform 2101000.jr0: registering rng-caam
platform caam_sm: caam_sm_test: 8-byte key test match OK
platform caam_sm: caam_sm_test: 16-byte key test match OK
platform caam_sm: caam_sm_test: 32-byte key test match OK
platform caam_secvio.29: security violation service handlers armed
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
sgtl5000 1-000a: sgtl5000 revision 0x11
sgtl5000 1-000a: Failed to get supply 'VDDD': -19
1-000a: 1200 mV normal
sgtl5000 1-000a: Using internal LDO instead of VDDD
imx-sgtl5000 sound.22: sgtl5000 <-> 2028000.ssi mapping ok
imx-spdif sound-spdif.23: dit-hifi <-> 2004000.spdif mapping ok
imx-audio-hdmi sound-hdmi.24: hdmi-hifi <-> hdmi_audio.16 mapping ok
TCP: cubic registered
NET: Registered protocol family 10
mip6: Mobile IPv6
NET: Registered protocol family 17
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Registering SWP/SWPB emulation handler
registered taskstats version 1
console [netcon0] enabled
netconsole: network logging started
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
ALSA device list:
#0: imx6-wandboard-sgtl5000
#1: imx-spdif
#2: imx-hdmi-soc
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: error mounting -2
Freeing unused kernel memory: 320K (80cc0000 - 80d10000)
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.17-1-ARCH #1
[<80013c4c>] (unwind_backtrace+0x0/0xe0) from [<80010d58>] (show_stack+0x10/0x14)
[<80010d58>] (show_stack+0x10/0x14) from [<806ac7a4>] (panic+0x84/0x1cc)
[<806ac7a4>] (panic+0x84/0x1cc) from [<806a7d5c>] (kernel_init+0xb8/0xe4)
[<806a7d5c>] (kernel_init+0xb8/0xe4) from [<8000d998>] (ret_from_fork+0x14/0x3c)
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.17-1-ARCH #1
[<80013c4c>] (unwind_backtrace+0x0/0xe0) from [<80010d58>] (show_stack+0x10/0x14)
[<80010d58>] (show_stack+0x10/0x14) from [<80012efc>] (handle_IPI+0xc4/0x130)
[<80012efc>] (handle_IPI+0xc4/0x130) from [<80008568>] (gic_handle_irq+0x58/0x60)
[<80008568>] (gic_handle_irq+0x58/0x60) from [<8000d540>] (__irq_svc+0x40/0x50)
Exception stack(0xdc0c1f50 to 0xdc0c1f98)
1f40: dc0c1f98 00000001 0710e3aa 00000001
1f60: 047258d0 00000001 00000001 81c1b138 80d20d28 80d20d74 80ddb3a4 00000000
1f80: 00000009 dc0c1f98 800635ec 804f5b10 60000113 ffffffff
[<8000d540>] (__irq_svc+0x40/0x50) from [<804f5b10>] (cpuidle_enter_state+0x50/0xd8)
[<804f5b10>] (cpuidle_enter_state+0x50/0xd8) from [<804f5c78>] (cpuidle_idle_call+0xe0/0x144)
[<804f5c78>] (cpuidle_idle_call+0xe0/0x144) from [<8000e4d8>] (arch_cpu_idle+0x10/0x48)
[<8000e4d8>] (arch_cpu_idle+0x10/0x48) from [<80062e10>] (cpu_startup_entry+0xb8/0x11c)
[<80062e10>] (cpu_startup_entry+0xb8/0x11c) from [<106a96a4>] (0x106a96a4)
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.17-1-ARCH #1
[<80013c4c>] (unwind_backtrace+0x0/0xe0) from [<80010d58>] (show_stack+0x10/0x14)
[<80010d58>] (show_stack+0x10/0x14) from [<80012efc>] (handle_IPI+0xc4/0x130)
[<80012efc>] (handle_IPI+0xc4/0x130) from [<80008568>] (gic_handle_irq+0x58/0x60)
[<80008568>] (gic_handle_irq+0x58/0x60) from [<8000d540>] (__irq_svc+0x40/0x50)
Exception stack(0xdc0bdf50 to 0xdc0bdf98)
df40: dc0bdf98 00000001 0710e3aa 00000001
df60: 04725f52 00000001 00000001 81c0b138 80d20d28 80d20d74 80ddb3a4 00000000
df80: 00000009 dc0bdf98 800635ec 804f5b10 60000113 ffffffff
[<8000d540>] (__irq_svc+0x40/0x50) from [<804f5b10>] (cpuidle_enter_state+0x50/0xd8)
[<804f5b10>] (cpuidle_enter_state+0x50/0xd8) from [<804f5c78>] (cpuidle_idle_call+0xe0/0x144)
[<804f5c78>] (cpuidle_idle_call+0xe0/0x144) from [<8000e4d8>] (arch_cpu_idle+0x10/0x48)
[<8000e4d8>] (arch_cpu_idle+0x10/0x48) from [<80062e10>] (cpu_startup_entry+0xb8/0x11c)
[<80062e10>] (cpu_startup_entry+0xb8/0x11c) from [<106a96a4>] (0x106a96a4)
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.17-1-ARCH #1
[<80013c4c>] (unwind_backtrace+0x0/0xe0) from [<80010d58>] (show_stack+0x10/0x14)
[<80010d58>] (show_stack+0x10/0x14) from [<80012efc>] (handle_IPI+0xc4/0x130)
[<80012efc>] (handle_IPI+0xc4/0x130) from [<80008568>] (gic_handle_irq+0x58/0x60)
[<80008568>] (gic_handle_irq+0x58/0x60) from [<8000d540>] (__irq_svc+0x40/0x50)
Exception stack(0xdc0bff50 to 0xdc0bff98)
ff40: dc0bff98 00000001 0710e25d 00000001
ff60: 04726488 00000001 00000001 81c13138 80d20d28 80d20d74 80ddb3a4 00000000
ff80: 00000009 dc0bff98 800635ec 804f5b10 60000113 ffffffff
[<8000d540>] (__irq_svc+0x40/0x50) from [<804f5b10>] (cpuidle_enter_state+0x50/0xd8)
[<804f5b10>] (cpuidle_enter_state+0x50/0xd8) from [<804f5c78>] (cpuidle_idle_call+0xe0/0x144)
[<804f5c78>] (cpuidle_idle_call+0xe0/0x144) from [<8000e4d8>] (arch_cpu_idle+0x10/0x48)
[<8000e4d8>] (arch_cpu_idle+0x10/0x48) from [<80062e10>] (cpu_startup_entry+0xb8/0x11c)
[<80062e10>] (cpu_startup_entry+0xb8/0x11c) from [<106a96a4>] (0x106a96a4)
[?1l>[24;1H
[?1049l
')
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

Re: Wandboard new kernel

Postby WarheadsSE » Tue May 13, 2014 1:55 am

Swap the cards.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Wandboard new kernel

Postby andrenam » Tue May 13, 2014 2:08 am

Swap the cards and flash uboot to the other card? uboot on one card, rootfs on the other one? Hmm
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

Re: Wandboard new kernel

Postby kmihelich » Tue May 13, 2014 2:41 am

I updated the package again with more changes. Tested it locally with an ext4 formatted card in the base board and it booted correctly recognizing the module SD card as mmcblk0 in the same way that U-Boot is seeing it.

Please verify this is working for you as well, just run the pacman command again to get the new version:
$this->bbcode_second_pass_code('', 'pacman -U http://archlinuxarm.org/builder/testing/linux-wandboard-3.10.17-1-armv7h.pkg.tar.xz')
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Wandboard new kernel

Postby CasualNinja » Tue May 13, 2014 3:45 am

Confirmed: With that kernel installed, my board is booting up again with either one or two sd cards installed.

Thanks a lot!
CasualNinja
 
Posts: 5
Joined: Wed Jul 31, 2013 7:10 pm

Re: Wandboard new kernel

Postby kmihelich » Tue May 13, 2014 3:49 am

This change will be in 3.10.17-2, which will be in the repos shortly. No other changes for that version.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Wandboard new kernel

Postby andrenam » Tue May 13, 2014 9:29 pm

@Kevin: many thanks. Your new package works fine with both sdcards. Great work. Thanks. :)
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

Re: Wandboard new kernel

Postby andrenam » Thu May 15, 2014 6:24 pm

I'm afraid I need help once again. I just noticed, that I have problems rebooting the device. When I use "reboot", the system restarts but hangs at "Starting kernel ..." at the beginning.
At the serial console, this is all I see:
$this->bbcode_second_pass_code('', 'Arch Linux 3.10.17-2-ARCH (ttymxc0)

wandboard login: [ OK ] Stopped target Sound Card.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Stopped target RPC Port Mapper.
Stopping User Manager for UID 0...
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped targýt Multi-User Starting Generate shutdown-ramfs...
Starting Store Sound Card State...
[ OK ] Stopped Nullmailer relay-only MTA.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped OpenSSH Daemon.
[ OK ] Stopped Login Service.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Entropy Harvesting Daemon.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Automatic wired network connection using netctl profiles.
[ OK ] Stopped Serial Getty on ttymxc0.
[ OK ] Stopped minidlna server.
[ OK ] Stopped NFSv4 ID-name mapping daemon.
[ OK ] Stopped NFS Mount Daemon.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped A high performance web server and a reverse proxy server.
[ OK ] Started Store Sound Card State.
[ OK ] Removed slice user-0.slice.
Stopping NFS server...
Unmounting RPC pipe filesystem...
[ OK ] Removed slice system-serial\x2dgetty.slice.
nfsd: last server has exited, flushing export cache
[ OK ] Removed slice system-netctl\x2difplugd.slice.
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped NFS server.
[ OK ] Unmounted RPC pipe filesystem.
Stopping RPC Bind...
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped RPC Bind.
[ OK ] Stopped pyLoad Core.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped target Timers.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Load/Save RF Kill Switch Status of rfkill1...
Stopping Load/Save RF Kill Switch Status of rfkill0...
Stopping Load Kernel Modules...
[ OK ] Stopped Load Kernel Modules.
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped target Encrypted Volumes.
Stopping Setup Virtual Console...
[ OK ] Stopped Setup Virtual Console.
Stopping Load/Save Random Seed...
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Swap.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill1.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill0.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Load/Save Random Seed.
Stopping Create Volatile Files and Directories...
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /run/user/0...
Unmounting RPC Pipe File System...
Unmounting /srv/nfs4/music/Musik/Musik1...
Unmounting /srv/nfs4/wandmedia...
Unmounting /media/music/Musik/Musik1...
Unmounting Temporary Directory...
[ OK ] Removed slice system-systemd\x2drfkill.slice.
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted RPC Pipe File System.
[ OK ] Unmounted /srv/nfs4/wandmedia.
[ OK ] Unmounted Temporary Directory.
Unmounting /media/wandmedia...
[ OK ] Unmounted /media/wandmedia.
[ OK ] Unmounted /srv/nfs4/music/Musik/Musik1.
[ OK ] Unmounted /media/music/Musik/Musik1.
[ OK ] Started Generate shutdown-ramfs.
Unmounting /srv/nfs4/music...
[ OK ] Unmounted /srv/nfs4/music.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
imx2-wdt 20bc000.wdog: Unexpected close: Expect reboot!
systemd-shutdown[1]: Sending SIGTERM to remaining processes...
systemd-journald[165]: Received SIGTERM from PID 1 (systemd-shutdow).
systemd-shutdown[1]: Sending SIGKILL to remaining processes...
systemd-shutdown[1]: Hardware watchdog 'imx2+ watchdog', version 0
systemd-shutdown[1]: Unmounting file systems.
systemd-shutdown[1]: Unmounting /sys/fs/fuse/connections.
systemd-shutdown[1]: Unmounting /sys/kernel/debug.
systemd-shutdown[1]: Unmounting /dev/mqueue.
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
systemd-shutdown[1]: All filesystems unmounted.
systemd-shutdown[1]: Deactivating swaps.
systemd-shutdown[1]: All swaps deactivated.
systemd-shutdown[1]: Detaching loop devices.
systemd-shutdown[1]: All loop devices detached.
systemd-shutdown[1]: Detaching DM devices.
systemd-shutdown[1]: All DM devices detached.
systemd-shutdown[1]: Storage is finalized.
systemd-shutdown[1]: Successfully changed into root pivot.
systemd-shutdown[1]: Returning to initrd...
imx2-wdt 20bc000.wdog: Unexpected close: Expect reboot!
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Hardware watchdog 'imx2+ watchdogcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
', version 0
Unmounting file syscgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
tems.
Unmounting /oldroot/sys/fscgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
/cgroup/perf_event.
Unmounting /cgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
oldroot/sys/fs/cgroup/blkio.
Unmcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
ounting /oldroot/sys/fs/cgroup/frcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
eezer.
Unmounting /oldroot/sys/fcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
s/cgroup/devices.
Unmounting /olcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
droot/sys/fs/cgroup/memory.
Unmounting /oldroot/sys/fs/cgroup/cpu,cpuacct.
Unmounting /oldroot/sys/fs/cgroup/cpuset.
Unmounting /oldroot/sys/fs/cgroup/systemd.
Unmounting /oldroot/sys/fs/cgroup.
Unmounting /oldroot/run.
Unmounting /oldroot/dev/pts.
UEXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
nmounting /oldroot/dev/shm.
Unmounting /oldroot/sys/kernel/security.
Unmounting /oldroot/sys.
Unmounting /oldroot/proc.
Unmounting /oldroot/dev.
Unmounting /oldroot.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
Storage is finalized.
Rebooting.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
Restarting system.


U-Boot 2014.01 (Mar 19 2014 - 15:46:50) Arch Linux ARM

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Board: Wandboard
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
mmc0 is current device
SD/MMC found on device 0
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loaduimage ...
** File not found /boot/uImage **
Running default loadzimage ...
3599648 bytes read in 215 ms (16 MiB/s)
41975 bytes read in 74 ms (553.7 KiB/s)
Booting from mmc ...
Kernel image @ 0x12000000 [ 0x000000 - 0x36ed20 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800d3f6

Starting kernel ...


')

Removing the second sdcard doesn't change anything.

Powering down the wandboard with "poweroff" instead and re-plugging in the psu works fine.
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

PreviousNext

Return to Freescale

Who is online

Users browsing this forum: No registered users and 7 guests