Hello,
I am having problem booting from latest linaro-linux-tracking (3.16.0-rc5) on Samsung Arndale Board (with two cpus). The same thing happens with mainline kernel (3.16.0-rc4).
Here is what happens -
1. During build I got the error message -
LD sound/built-in.o MK_FW firmware/edid-1920x1080.fw.gen.S make[1]: *** No rule to make target `firmware/edid-1920x1080.fw', needed by `firmware/edid-1920x1080.fw.gen.o'. Stop. make: *** [firmware] Error 2
I set CONFIG_EXTRA_FIRMWARE="" and could proceed with build.
2. At the end of build I got the below error message -
Kernel: arch/arm/boot/zImage is ready multiple (or no) load addresses: This is incompatible with uImages Specify LOADADDR on the commandline to build an uImage make[1]: *** [arch/arm/boot/uImage] Error 1 make: *** [uImage] Error 2
I passed loadaddr as parameter - make uImage LOADADDR=0x40008000 (this address I got from build output of linux-linaro-tracking 3.14.0). With this build was successful and uImage generated.
3. After that I got the following log during boot -
[ 1.125626] Trying to unpack rootfs image as initramfs... [ 1.243435] Freeing initrd memory: 2384K (82001000 - 82255000) [ 1.243760] hw perfevents: enabled with ARMv7_Cortex_A15 PMU driver, 7 counters available [ 1.244915] futex hash table entries: 512 (order: 3, 32768 bytes) [ 1.244991] audit: initializing netlink subsys (disabled) [ 1.245035] audit: type=2000 audit(1.225:1): initialized [ 1.246360] VFS: Disk quotas dquot_6.5.2 [ 1.246428] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.247297] NFS: Registering the id_resolver key type [ 1.247335] Key type id_resolver registered [ 1.247350] Key type id_legacy registered [ 1.247403] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.247775] msgmni has been set to 3482 [ 1.249383] bounce: pool size: 64 pages [ 1.249440] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.249462] io scheduler noop registered [ 1.249479] io scheduler deadline registered [ 1.249512] io scheduler cfq registered (default) [ 1.260046] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-2364208 [ 1.260068] dma-pl330 121a0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [ 1.263447] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-2364208 [ 1.263467] dma-pl330 121b0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [ 1.264525] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-2364208 [ 1.264545] dma-pl330 10800000.mdma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32 [ 1.265467] dma-pl330 11c10000.mdma: Loaded driver for PL330 DMAC-2364208 [ 1.265486] dma-pl330 11c10000.mdma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32 [ 1.265562] xenfs: not registering filesystem on non-xen platform [ 1.335655] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 1.337195] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 83, base_baud = 0) is a S3C6400/10 [ 1.337589] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 84, base_baud = 0) is a S3C6400/10 [ 1.338017] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 85, base_baud = 0) is a S3C6400/10 [ 2.275531] console [ttySAC2] enabled [ 2.279568] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 86, base_baud = 0) is a S3C6400/10 [ 2.288628] [drm] Initialized drm 1.1.0 20060810 [ 2.300603] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 2.305611] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral [ 2.320592] brd: module loaded [ 2.326213] loop: module loaded [ 2.328789] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.334354] tun: Universal TUN/TAP device driver, 1.6 [ 2.339351] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 2.345896] usbcore: registered new interface driver asix [ 2.350960] usbcore: registered new interface driver ax88179_178a [ 2.357027] usbcore: registered new interface driver cdc_ether [ 2.362843] usbcore: registered new interface driver dm9601 [ 2.368402] usbcore: registered new interface driver net1080 [ 2.374039] usbcore: registered new interface driver cdc_subset [ 2.379945] usbcore: registered new interface driver zaurus [ 2.385498] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [ 2.392913] usbcore: registered new interface driver cdc_ncm [ 2.399041] usb@12000000 supply vdd33 not found, using dummy regulator [ 2.405044] usb@12000000 supply vdd10 not found, using dummy regulator [ 2.411844] platform 12000000.dwc3: Driver dwc3 requests probe deferral [ 2.418250] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.424599] ehci-pci: EHCI PCI platform driver [ 2.429075] ehci-exynos: EHCI EXYNOS driver [ 2.433439] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.439368] ohci-pci: OHCI PCI platform driver [ 2.443831] ohci-exynos: OHCI EXYNOS driver [ 2.448256] usbcore: registered new interface driver usb-storage [ 2.462756] usb3503 usb_hub_bus:usb_hub: switched to HUB mode [ 2.467037] usb3503 usb_hub_bus:usb_hub: usb3503_probe: probed in hub mode [ 2.474499] samsung-usb3phy 12100000.usbphy: Can't get usb-phy sysreg cfg register [ 2.482379] mousedev: PS/2 mouse device common for all mice [ 2.487859] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling [ 2.493050] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc0 [ 2.498744] s3c-rtc 101e0000.rtc: warning: invalid RTC value so initializing it [ 2.506404] 10060000.tmu supply vtmu not found, using dummy regulator [ 2.512972] exynos-tmu 10060000.tmu: Exynos: Thermal zone(therm_zone0) registered [ 2.520421] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com [ 2.539598] Synopsys Designware Multimedia Card Interface Driver [ 2.544808] dwmmc_exynos 12200000.mmc: Using internal DMA controller. [ 2.550567] dwmmc_exynos 12200000.mmc: Version ID is 241a [ 2.556606] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 107, 32 bit host data width, 128 deep fifo [ 2.592839] dwmmc_exynos 12200000.mmc: 1 slots initialized [ 2.597196] dwmmc_exynos 12220000.mmc: Using internal DMA controller. [ 2.603300] dwmmc_exynos 12220000.mmc: Version ID is 241a [ 2.609998] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 109, 32 bit host data width, 128 deep fifo [ 2.647788] dwmmc_exynos 12220000.mmc: 1 slots initialized [ 2.652056] usbcore: registered new interface driver usbhid [ 2.657359] usbhid: USB HID core driver [ 2.662438] oprofile: using timer interrupt. [ 2.665558] TCP: cubic registered [ 2.668730] Initializing XFRM netlink socket [ 2.673030] NET: Registered protocol family 10 [ 2.677915] sit: IPv6 over IPv4 tunneling driver [ 2.682464] NET: Registered protocol family 17 [ 2.686472] NET: Registered protocol family 15 [ 2.690938] Key type dns_resolver registered [ 2.695208] Registering SWP/SWPB emulation handler [ 2.700832] Btrfs loaded [ 2.702450] AppArmor: AppArmor sha1 policy hashing enabled [ 2.708691] mfc-power-domain: Power-off latency exceeded, new value 8731958 ns [ 2.715660] gsc-power-domain: Power-off latency exceeded, new value 308750 ns [ 2.725830] mmc0: BKOPS_EN bit is not set [ 2.729770] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0) [ 2.738186] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 2.744521] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral [ 2.952480] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 52000000Hz, actual 50000000HZ div = 1) [ 2.960942] mmc0: new DDR MMC card at address 0001 [ 2.966013] mmcblk0: mmc0:0001 M4G1FB 3.64 GiB [ 2.970244] mmcblk0boot0: mmc0:0001 M4G1FB partition 1 1.00 MiB [ 2.976150] mmcblk0boot1: mmc0:0001 M4G1FB partition 2 1.00 MiB [ 2.982039] mmcblk0rpmb: mmc0:0001 M4G1FB partition 3 128 KiB [ 2.989206] mmcblk0: p1 p2 p3 p4 [ 2.993050] mmcblk0boot1: unknown partition table [ 2.997278] mmcblk0boot0: unknown partition table [ 3.008951] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 3.013956] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral [ 3.029510] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 3.034475] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral [ 3.042326] input: gpio_keys as /devices/gpio_keys/input/input0 [ 3.047643] s3c-rtc 101e0000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) [ 3.080561] vdd_g3d: disabling [ 3.100380] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 3.108670] mmc1: new high speed SDHC card at address aaaa [ 3.114356] VDD_IOPERI_1.8V: disabling [ 3.117998] mmcblk1: mmc1:aaaa SU04G 3.69 GiB [ 3.124076] mmcblk1: p1 p2 p3 [ 3.126718] hdmi-en: disabling [ 3.128710] MAIN_DC: disabling [ 3.132350] ALSA device list: [ 3.134687] No soundcards found. [ 3.139126] Freeing unused kernel memory: 472K (8077c000 - 807f2000) [ 3.152292] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 3.157359] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral Loading, please wait... [ 3.172053] [drm:hdmi_probe] *ERROR* syscon regmap lookup failed. [ 3.177045] platform 14530000.hdmi: Driver exynos-hdmi requests probe deferral [ 3.204532] systemd-udevd[1350]: starting version 204 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 3.749107] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. [ 3.841975] random: nonblocking pool is initialized [ 4.987813] init: ureadahead main process (1399) terminated with status 5 [ 5.859210] EXT4-fs (mmcblk1p3): re-mounted. Opts: errors=remount-ro [ 7.738335] CPU1: failed to boot: -19
Looks like CPU1 failed to boot. But on the same board, using same SD card and linux-linaro-tracking v3.14.0 it boots successfully.
4. Tried to boot passing argument 'maxcpus=1' via uboot but keeps getting the same error. 5. Tried to build kernel without SMP support and keeps getting the below build error -
scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC arch/arm/kernel/process.o In file included from ./arch/arm/include/asm/hardirq.h:6:0, from include/linux/hardirq.h:8, from include/linux/interrupt.h:12, from arch/arm/kernel/process.c:22: ./arch/arm/include/asm/irq.h:39:40: error: conflicting types for ‘arch_trigger_all_cpu_backtrace’ #define arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace ^ arch/arm/kernel/process.c:69:6: note: in expansion of macro ‘arch_trigger_all_cpu_backtrace’ void arch_trigger_all_cpu_backtrace(void) ^ ./arch/arm/include/asm/irq.h:38:6: note: previous declaration of ‘arch_trigger_all_cpu_backtrace’ was here void arch_trigger_all_cpu_backtrace(bool); ^ make[1]: *** [arch/arm/kernel/process.o] Error 1
config file attached.
Using same config file, I don't get any build error mentioned in 1 & 2 with linaro-linux-tracking v3.14.0 and it boots ok.
Is there something I am doing wrong or is it problem with recent kernel?
-- Thanks, -Meraj