I just patched and configured vanilla kernel 3.14.47 w/ omap2plus_defconfig for an omap4 pandaboard-es (ARM arch). And compiled with this toolchain: arm-unknown-linux-gnueabi.tgz from https://grsecurity.net/~spender/
Without a patch system works perfectly w/ 3.14.47 (vanilla version) version, after patch I can't pass "Starting kernel..." message, and this problem exists for all version. Whole grsecurity options are disabled. I'm just using recent version, because you're supporting it now. I wonder if i do need anything special for u-boot.img, MLO or boot.scr?
I opened low level debugging options from kernel hacking configurations and these are earlyprintk info:
- Code: Select all
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.47-grsec (arcelik@A00103444) (gcc version 4.7.3 (crosstool-NG 1.19.0) ) #4 SMP Tue Jul 7 13:44:53 EEST 2015
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI OMAP4 PandaBoard
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] cma: CMA: reserved 16 MiB at ae800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4460 ES1.1
[ 0.000000] PERCPU: Embedded 9 pages/cpu @edfb8000 s13184 r8192 d15488 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 246032
[ 0.000000] Kernel command line: earlyprintk=serial,ttyS0,115200 console=ttyO2,115200 rootwait vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/nfs rw nfsroot=192.168.1.1:/home/arcelik/1511/nfsroots/2,nolock,wsize=1024,rsize=1024 ip=192.168.1.2 init=/linuxrc
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 950504K/990208K available (5462K kernel code, 681K rwdata, 2180K rodata, 376K init, 5525K bss, 39704K reserved, 269312K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc055dbc4 (5463 kB)
[ 0.000000] .init : 0xc07b0000 - 0xc080e380 ( 377 kB)
[ 0.000000] .data : 0xc0810000 - 0xc08ba5c0 ( 682 kB)
[ 0.000000] .bss : 0xc08ba5c0 - 0xc0e1fb60 (5526 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ti_dt_clocks_register: failed to lookup clock node bandgap_fclk
[ 0.000000] OMAP clockevent source: timer1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns
[ 0.008697] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.014099] smp_twd: clock not found -2
[ 0.020294] Console: colour dummy device 80x30
[ 0.025024] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.033081] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.037414] ... MAX_LOCK_DEPTH: 48
[ 0.041809] ... MAX_LOCKDEP_KEYS: 8191
[ 0.046386] ... CLASSHASH_SIZE: 4096
[ 0.050964] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.055664] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.060302] ... CHAINHASH_SIZE: 16384
[ 0.065002] memory used by lock dependency info: 3695 kB
[ 0.070617] per task-struct memory footprint: 1152 bytes
[ 0.076354] Calibrating local timer... 349.11MHz.
[ 0.134399] Calibrating delay loop... 1391.00 BogoMIPS (lpj=6955008)
[ 0.227142] pid_max: default: 32768 minimum: 501
[ 0.232452] Security Framework initialized
[ 0.236999] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.243896] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.285186] CPU: Testing write buffer coherency: ok
[ 0.291778] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.297790] Setting up static identity map for 0x8055cf08 - 0x8055cf78
[ 0.304748] L310 cache controller enabled
[ 0.308990] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x7e470000, Cache size: 1024 kB
[ 0.322326] CPU1: Booted secondary processor
[ 0.353851] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.354431] Brought up 2 CPUs
[ 0.367950] SMP: Total of 2 processors activated (2782.00 BogoMIPS).
[ 0.374603] CPU: All CPU(s) started in SVC mode.
[ 0.381164] devtmpfs: unable to create devtmpfs -14
[ 0.422973] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.434936] omap_hwmod: l3_main_3 using broken dt data from ocp
[ 0.444793] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.612640] pinctrl core: initialized pinctrl subsystem
[ 0.621459] regulator-dummy: no parameters
[ 0.628631] NET: Registered protocol family 16
[ 0.639801] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.724975] OMAP GPIO hardware version 0.1
[ 0.742004] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.773071] platform 4b501000.aes: Cannot lookup hwmod 'aes'
[ 0.779602] platform 480a5000.des: Cannot lookup hwmod 'des'
[ 0.796051] No ATAGs?
[ 0.798217] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.806823] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.816619] OMAP DMA hardware revision 0.0
[ 0.871215] bio: create slab <bio-0> at 0
[ 0.878570] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[ 0.886138] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[ 0.955322] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 1.050628] hsusb1_vbus: 3300 mV
[ 1.054595] reg-fixed-voltage wl12xx_vmmc.10: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_wl12xx_gpio, deferring probe
[ 1.067138] platform wl12xx_vmmc.10: Driver reg-fixed-voltage requests probe deferral
[ 1.082366] SCSI subsystem initialized
[ 1.088195] usbcore: registered new interface driver usbfs
[ 1.094329] usbcore: registered new interface driver hub
[ 1.100341] usbcore: registered new device driver usb
[ 1.109252] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c1_pins, deferring probe
[ 1.120635] platform 48070000.i2c: Driver omap_i2c requests probe deferral
[ 1.127838] omap_i2c 48072000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c2_pins, deferring probe
[ 1.139251] platform 48072000.i2c: Driver omap_i2c requests probe deferral
[ 1.146453] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c3_pins, deferring probe
[ 1.157836] platform 48060000.i2c: Driver omap_i2c requests probe deferral
[ 1.165069] omap_i2c 48350000.i2c: could not find pctldev for node /ocp/pinmux@4a100040/pinmux_i2c4_pins, deferring probe
[ 1.176452] platform 48350000.i2c: Driver omap_i2c requests probe deferral
[ 1.189941] Switched to clocksource 32k_counter
This is my kernel configuration:
http://pastebin.com/v5vjsBCb
And this is boot.script:
- Code: Select all
mmc rescan
fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x82000000 omap4-panda-es.dtb
setenv bootargs initcall_debug earlyprintk=serial,ttyS0,115200 console=ttyO2,115200 rootwait vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/nfs rw nfsroot=192.168.1.1:/home/arcelik/1511/nfsroots/2,nolock,wsize=1024,rsize=1024 ip=192.168.1.2 init=/linuxrc
bootm 0x80000000 - 0x82000000
By the way, problem exists also on beaglebone black.
Any support/suggestion will help, thank you.
--
Emre Can Kucukoglu