Hello ,
i searched a lot in Google they are suggesting lots of things i try all , but noting is working for me please help.
i am using beaglebone black , and i am trying to build 3.8 kernel for my board . I got successfully zImage but while i am loading it through 4 GB SD card and partition is -----
# sudo fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 1980 MB, 1980760064 bytes
61 heads, 62 sectors/track, 1022 cylinders, total 3868672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 198655 98304 e W95 FAT16 (LBA)
/dev/sdb2 198656 3481599 1641472 83 Linux
I feel that here is some issue with zImage only
Please tell what i should do and where i made mistake on building zImage .
this is my whole log
-------------------------------------------------------------------------------------------------------------------------------------
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13 (ari_csuser2@ubuntu-3f-21) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #10 SMP Mon Oc4
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0aa9000 s9408 r8192 d15168 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.enable_partno=BB-UART1 root=/dev/mmcblk0p2 rootfstype=ext4
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 511MB = 511MB total
[ 0.000000] Memory: 510864k/510864k available, 13424k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc059898c (5699 kB)
[ 0.000000] .init : 0xc0599000 - 0xc05ce4c0 ( 214 kB)
[ 0.000000] .data : 0xc05d0000 - 0xc0640220 ( 449 kB)
[ 0.000000] .bss : 0xc0640220 - 0xc0698d3c ( 355 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000229] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)
[ 0.029186] pid_max: default: 32768 minimum: 301
[ 0.029330] Security Framework initialized
[ 0.029387] Mount-cache hash table entries: 512
[ 0.035418] Initializing cgroup subsys cpuacct
[ 0.035440] Initializing cgroup subsys memory
[ 0.035479] Initializing cgroup subsys blkio
[ 0.035567] CPU: Testing write buffer coherency: ok
[ 0.035941] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.035996] Setting up static identity map for 0x80366d68 - 0x80366db4
[ 0.036812] Brought up 1 CPUs
[ 0.036826] SMP: Total of 1 processors activated (993.47 BogoMIPS).
[ 0.037622] devtmpfs: initialized
[ 0.046162] omap_hwmod: wd_timer2: _wait_target_disable failed
[ 0.097973] pinctrl core: initialized pinctrl subsystem
[ 0.098355] regulator-dummy: no parameters
[ 0.098672] NET: Registered protocol family 16
[ 0.099179] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.099365] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.105090] platform 49000000.edma: alias fck already exists
[ 0.105111] platform 49000000.edma: alias fck already exists
[ 0.105125] platform 49000000.edma: alias fck already exists
[ 0.105880] OMAP GPIO hardware version 0.1
[ 0.110500] platform 53100000.sham: Cannot lookup hwmod 'sham'
[ 0.110640] platform 53500000.aes: Cannot lookup hwmod 'aes'
[ 0.111058] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.111277] omap_init_sham: platform not supported
[ 0.111288] omap_init_aes: platform not supported
[ 0.119565] bio: create slab <bio-0> at 0
[ 0.120251] vmmcsd_fixed: 3300 mV
[ 0.121846] SCSI subsystem initialized
[ 0.122101] usbcore: registered new interface driver usbfs
[ 0.122173] usbcore: registered new interface driver hub
[ 0.122353] usbcore: registered new device driver usb
[ 0.123054] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.123089] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.123135] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe
[ 0.123157] platform 4819c000.i2c: Driver omap_i2c requests probe deferral
[ 0.123231] media: Linux media interface: v0.10
[ 0.123290] Linux video capture interface: v2.00
[ 0.123356] pps_core: LinuxPPS API ver. 1 registered
[ 0.123365] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.123679] Advanced Linux Sound Architecture Driver Initialized.
[ 0.124409] Switching to clocksource gp_timer
[ 0.134462] NET: Registered protocol family 2
[ 0.135076] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.135158] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.135240] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.135302] TCP: reno registered
[ 0.135318] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.135342] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.135573] NET: Registered protocol family 1
[ 0.135965] RPC: Registered named UNIX socket transport module.
[ 0.135976] RPC: Registered udp transport module.
[ 0.135983] RPC: Registered tcp transport module.
[ 0.135991] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.136566] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.136816] CPU PMU: attempt to register multiple PMU devices!
[ 0.136839] arm-pmu: probe of arm-pmu failed with error -28
[ 0.137094] omap2_mbox_probe: platform not supported
[ 0.139381] VFS: Disk quotas dquot_6.5.2
[ 0.139504] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.140278] NFS: Registering the id_resolver key type
[ 0.140341] Key type id_resolver registered
[ 0.140351] Key type id_legacy registered
[ 0.140391] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.140664] msgmni has been set to 997
[ 0.142356] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.142371] io scheduler noop registered
[ 0.142380] io scheduler deadline registered
[ 0.142402] io scheduler cfq registered (default)
[ 0.142952] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.143936] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.145400] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.145653] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 0.822164] console [ttyO0] enabled
[ 0.826391] [drm] Initialized drm 1.1.0 20060810
[ 0.838629] brd: module loaded
[ 0.845845] loop: module loaded
[ 0.850040] OneNAND driver initializing
[ 0.854925] usbcore: registered new interface driver asix
[ 0.860665] usbcore: registered new interface driver cdc_ether
[ 0.866844] usbcore: registered new interface driver smsc95xx
[ 0.872900] usbcore: registered new interface driver net1080
[ 0.878869] usbcore: registered new interface driver cdc_subset
[ 0.885113] usbcore: registered new interface driver zaurus
[ 0.891038] usbcore: registered new interface driver cdc_ncm
[ 0.897438] usbcore: registered new interface driver cdc_acm
[ 0.903372] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.911736] Initializing USB Mass Storage driver...
[ 0.916904] usbcore: registered new interface driver usb-storage
[ 0.923185] USB Mass Storage support registered.
[ 0.928120] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.935548] mousedev: PS/2 mouse device common for all mice
[ 0.942195] i2c /dev entries driver
[ 0.946441] pps_ldisc: PPS line discipline registered
[ 0.951798] Driver for 1-wire Dallas network protocol.
[ 0.958121] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 0.965529] cpuidle: using governor ladder
[ 0.969839] cpuidle: using governor menu
[ 0.974392] omap_hsmmc mmc.4: unable to obtain RX DMA engine channel 25
[ 0.981635] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7
[ 0.993273] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22
[ 1.000552] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 1.009670] leds-gpio gpio-leds.7: pins are not configured from the driver
[ 1.017595] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.023906] omap_sham_mod_init: loading omap-sham driver
[ 1.029546] omap_aes_mod_init: loading omap-aes driver
[ 1.037445] usbcore: registered new interface driver usbhid
[ 1.043293] usbhid: USB HID core driver
[ 1.048494] TCP: cubic registered
[ 1.051983] Initializing XFRM netlink socket
[ 1.056481] NET: Registered protocol family 17
[ 1.061184] NET: Registered protocol family 15
[ 1.065946] Key type dns_resolver registered
[ 1.070565] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.078622] ThumbEE CPU extension supported.
[ 1.083115] Registering SWP/SWPB emulation handler
[ 1.088688] registered taskstats version 1
[ 1.094522] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.101968] DCDC1: at 1500 mV
[ 1.106085] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[ 1.111886] vdd_core: 925 <--> 1150 mV at 1125 mV
[ 1.117760] LDO1: at 1800 mV
[ 1.121735] LDO2: at 3300 mV
[ 1.125689] LDO3: 1800 <--> 3300 mV at 1800 mV
[ 1.131314] LDO4: at 3300 mV
[ 1.135369] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.141428] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.149426] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 1.155854] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.163446] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.171039] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.178620] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.233877] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.240273] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.247407] libphy: 4a101000.mdio: probed
[ 1.251642] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.261388] Random MACID = 7a:7e:27:68:d9:b8
[ 1.266561] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 1.274057] ------------[ cut here ]------------
[ 1.278947] WARNING: at arch/arm/mach-omap2/dpll3xxx.c:507 omap3_noncore_dpll_set_rate+0x2f1/0x32a()
[ 1.288502] Modules linked in:
[ 1.291746] [<c00102d7>] (unwind_backtrace+0x1/0x8a) from [<c00291eb>] (warn_slowpath_common+0x33/0x48)
[ 1.301576] [<c00291eb>] (warn_slowpath_common+0x33/0x48) from [<c002920f>] (warn_slowpath_null+0xf/0x10)
[ 1.311583] [<c002920f>] (warn_slowpath_null+0xf/0x10) from [<c0023ceb>] (omap3_noncore_dpll_set_rate+0x2f1/0x32a)
[ 1.322401] [<c0023ceb>] (omap3_noncore_dpll_set_rate+0x2f1/0x32a) from [<c02bff61>] (clk_change_rate+0x1b/0x52)
[ 1.333043] [<c02bff61>] (clk_change_rate+0x1b/0x52) from [<c02bffe5>] (clk_set_rate+0x4d/0x74)
[ 1.342153] [<c02bffe5>] (clk_set_rate+0x4d/0x74) from [<c0295621>] (cpu0_set_target+0xf9/0x198)
[ 1.351350] [<c0295621>] (cpu0_set_target+0xf9/0x198) from [<c02928e7>] (__cpufreq_driver_target+0x4b/0x70)
[ 1.361542] [<c02928e7>] (__cpufreq_driver_target+0x4b/0x70) from [<c029415b>] (cpufreq_governor_performance+0x13/0x16)
[ 1.372819] [<c029415b>] (cpufreq_governor_performance+0x13/0x16) from [<c029304f>] (__cpufreq_governor+0x33/0x64)
[ 1.383640] [<c029304f>] (__cpufreq_governor+0x33/0x64) from [<c029311d>] (__cpufreq_set_policy+0x9d/0xc8)
[ 1.393741] [<c029311d>] (__cpufreq_set_policy+0x9d/0xc8) from [<c02932d7>] (cpufreq_add_dev_interface+0x18f/0x1cc)
[ 1.404659] [<c02932d7>] (cpufreq_add_dev_interface+0x18f/0x1cc) from [<c02935ad>] (cpufreq_add_dev+0x299/0x2e4)
[ 1.415306] [<c02935ad>] (cpufreq_add_dev+0x299/0x2e4) from [<c01e1167>] (subsys_interface_register+0x4b/0x74)
[ 1.425768] [<c01e1167>] (subsys_interface_register+0x4b/0x74) from [<c0292d27>] (cpufreq_register_driver+0x57/0xf8)
[ 1.436776] [<c0292d27>] (cpufreq_register_driver+0x57/0xf8) from [<c02957d3>] (cpu0_cpufreq_driver_init+0x113/0x160)
[ 1.447882] [<c02957d3>] (cpu0_cpufreq_driver_init+0x113/0x160) from [<c000866f>] (do_one_initcall+0x63/0xe8)
[ 1.458263] [<c000866f>] (do_one_initcall+0x63/0xe8) from [<c059966b>] (kernel_init_freeable+0xbb/0x14c)
[ 1.468193] [<c059966b>] (kernel_init_freeable+0xbb/0x14c) from [<c035efc3>] (kernel_init+0x7/0x90)
[ 1.477660] [<c035efc3>] (kernel_init+0x7/0x90) from [<c000c47d>] (ret_from_fork+0x11/0x34)
[ 1.486396] ---[ end trace 6b0f20a8afff6f02 ]---
[ 1.498021] ALSA device list:
[ 1.501184] No soundcards found.
[ 1.505793] VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0): error -6
[ 1.513954] Please append a correct "root=" boot option; here are the available partitions:
[ 1.522736] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.531416] [<c00102d7>] (unwind_backtrace+0x1/0x8a) from [<c036274d>] (panic+0x51/0x14c)
[ 1.539982] [<c036274d>] (panic+0x51/0x14c) from [<c059993f>] (mount_block_root+0x137/0x174)
[ 1.548813] [<c059993f>] (mount_block_root+0x137/0x174) from [<c0599aaf>] (mount_root+0x8f/0xa8)
[ 1.558006] [<c0599aaf>] (mount_root+0x8f/0xa8) from [<c0599b8d>] (prepare_namespace+0xc5/0x118)
[ 1.567206] [<c0599b8d>] (prepare_namespace+0xc5/0x118) from [<c035efc3>] (kernel_init+0x7/0x90)
[ 1.576407] [<c035efc3>] (kernel_init+0x7/0x90) from [<c000c47d>] (ret_from_fork+0x11/0x34)