Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 125121

Forum Post: RE: Building Linux using Timesys Linuxlink on Zoom OMAP3530 SOM-LV

$
0
0

Hi,

I am trying to run filesystem using busy box on oampl138.

I downloaded busybox, latest verstion from busybox.net/downloads. and compiled with following options

1. Make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

2. make CONFIG_PREFIX=/home/user/Target install

nad it is successfully installed in above folder'

And this folder /home/user/Target is exported by specifying in /etc/exports file

and exported by using "sudo /etc/init.d/nfs-kernel-server restart" and it is OK


Next: i changed my bootargs with " setenv bootargs ip=192.168.0.5 noinitrd console=ttyS2,115200 root=dev/nfs rw nfsroot=192.168.0.10:/home/gopi/Depik/Target init=/linuxrc"

and booted with kernel following error is comming.

baudrate=115200
bootfile="uImage"
ethaddr=0a:c1:d8:14:f9:c0
bootdelay=10
filesize=1F51E0
fileaddr=C0700000
ipaddr=192.168.0.5
serverip=192.168.0.10
bootcmd=tftpboot c0700000 uImage;tftpboot c1180000 ramdisk_v1.gz; bootm c0700000
bootargs=ip=192.168.0.5 noinitrd console=ttyS2,115200 root=dev/nfs rw nfsroot=192.168.0.10:/home/gopi/Depik/Target/ init=/linuxrc
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.11 (May 07 2011 - 10:41:02)

Environment size: 444/131068 bytes
U-Boot > tftpboot uImage
Using  device
TFTP from server 192.168.0.10; our IP address is 192.168.0.5
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         #################################################################
         ##########
done
Bytes transferred = 2052576 (1f51e0 hex)
U-Boot > bootm c0700000
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2052512 Bytes =  2 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.33-rc4 (gopi@gopi-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #60 PREEMPT Sun M4
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: DaVinci DA850/OMAP-L138/AM18xx EVM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] DaVinci da850/omap-l138/am18xx variant 0x1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: ip=192.168.0.5 noinitrd console=ttyS2,115200 root=dev/nfs rw nfsroot=192.168.0.10:/home/gopic
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 125424KB available (3888K code, 310K data, 140K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:245
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
[    0.210000] Mount-cache hash table entries: 512
[    0.210000] CPU: Testing write buffer coherency: ok
[    0.210000] DaVinci: 144 gpio irqs
[    0.210000] regulator: core version 0.5
[    0.220000] NET: Registered protocol family 16
[    0.230000] da850_evm_init: mmcsd2 registration failed: -1
[    0.260000] da850_evm_init: LCD registration Done: 0
[    0.260000]  CONFIG_WIFI_CONTROL_FUNC is defined !!!!!!!!!!!*
[    0.370000] bio: create slab <bio-0> at 0
[    0.380000] SCSI subsystem initialized
[    0.390000] usbcore: registered new interface driver usbfs
[    0.390000] usbcore: registered new interface driver hub
[    0.390000] usbcore: registered new device driver usb
[    0.400000] i2c i2c-1: sendbytes: NAK bailout.
[    0.400000] tps6507x 1-0048: Write for reg 0xd failed
[    0.400000] set_machine_constraints: failed to enable VDCDC1
[    0.400000] tps6507x 1-0048: failed to register tps6507x-pmic regulator
[    0.400000] tps6507x-pmic: probe of tps6507x-pmic failed with error -5
[    0.400000] pca953x 1-0020: failed reading register
[    0.400000] i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
[    0.410000] Switching to clocksource timer0_1
[    0.420000] musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
[    0.420000] Waiting for USB PHY clock good...
[    0.440000] musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
[    0.440000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[    0.440000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[    0.440000] hub 1-0:1.0: USB hub found
[    0.440000] hub 1-0:1.0: 1 port detected
[    0.440000] NET: Registered protocol family 2
[    0.440000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.440000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.440000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.440000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.440000] TCP reno registered
[    0.440000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.440000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.440000] NET: Registered protocol family 1
[    0.440000] RPC: Registered udp transport module.
[    0.440000] RPC: Registered tcp transport module.
[    0.440000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.450000] EMAC: MII PHY configured, RMII PHY will not be functional
[    0.540000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 245
[    0.540000] io scheduler noop registered (default)
[    0.550000] Initializing VGA Monitor ....
[    0.550000] da8xx_lcdc da8xx_lcdc.0: GLCD: Found Tianma_TM035KDH03 panel
[    0.550000] Console: switching to colour frame buffer device 40x30
[    0.660000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.670000] serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
[    0.670000] serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
[    0.680000] serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
[    1.060000] console [ttyS2] enabled
[    1.070000] brd: module loaded
[    1.080000] spi_davinci spi_davinci.1: DaVinci SPI driver in EDMA mode
[    1.080000] Using RX channel = 18 , TX channel = 19 and event queue = 1
[    1.100000] spi_davinci spi_davinci.1: Controller at 0xfef0e000
[    1.110000] console [netcon0] enabled
[    1.120000] netconsole: network logging started
[    1.120000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.130000] ohci ohci.0: DA8xx OHCI
[    1.130000] ohci ohci.0: new USB bus registered, assigned bus number 2
[    1.140000] ohci ohci.0: irq 59, io mem 0x01e25000
[    1.200000] hub 2-0:1.0: USB hub found
[    1.210000] hub 2-0:1.0: 1 port detected
[    1.210000] Initializing USB Mass Storage driver...
[    1.220000] usbcore: registered new interface driver usb-storage
[    1.220000] USB Mass Storage support registered.
[    1.230000] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[    1.240000] omap_rtc: RTC power up reset detected
[    1.240000] i2c /dev entries driver
[    1.250000] Linux video capture interface: v2.00
[    1.260000] usbcore: registered new interface driver uvcvideo
[    1.260000] USB Video Class driver (v0.1.0)
[    1.270000] watchdog watchdog: heartbeat 60 sec
[    1.280000] cpuidle: using governor ladder
[    1.290000] cpuidle: using governor menu
[    1.290000] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
[    1.300000] davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
[    1.310000] usbcore: registered new interface driver usbhid
[    1.320000] usbhid: USB HID core driver
[    1.320000] Advanced Linux Sound Architecture Driver Version 1.0.21.
[    1.330000] usbcore: registered new interface driver snd-usb-audio
[    1.350000] ALSA device list:
[    1.350000]   No soundcards found.
[    1.360000] TCP cubic registered
[    1.360000] NET: Registered protocol family 17
[    1.370000] Clocks: disable unused emac
[    1.370000] Clocks: disable unused aemif
[    1.370000] ------------[ cut here ]------------
[    1.380000] WARNING: at arch/arm/mach-davinci/da850.c:1271 da850_regulator_init+0x3c/0x58()
[    1.390000] Unable to obtain voltage regulator for CVDD; voltage scaling unsupported
[    1.400000] Modules linked in:
[    1.400000] Backtrace:
[    1.400000] [<c002f730>] (dump_backtrace+0x0/0x114) from [<c030827c>] (dump_stack+0x18/0x1c)
[    1.410000]  r7:c7823d40 r6:c00374c0 r5:c039be14 r4:000004f7
[    1.420000] [<c0308264>] (dump_stack+0x0/0x1c) from [<c003fbe0>] (warn_slowpath_common+0x50/0x68)
[    1.430000] [<c003fb90>] (warn_slowpath_common+0x0/0x68) from [<c003fc44>] (warn_slowpath_fmt+0x30/0x38)
[    1.430000]  r7:c7905540 r6:c043f394 r5:c03fe464 r4:c0426a2c
[    1.440000] [<c003fc14>] (warn_slowpath_fmt+0x0/0x38) from [<c00374c0>] (da850_regulator_init+0x3c/0x58)
[    1.450000]  r3:c040bc20 r2:c039be32
[    1.450000] [<c0037484>] (da850_regulator_init+0x0/0x58) from [<c000f7c8>] (davinci_cpu_init+0x40/0xc0)
[    1.460000]  r5:c03fe464 r4:c79b8580
[    1.470000] [<c000f788>] (davinci_cpu_init+0x0/0xc0) from [<c0230e58>] (cpufreq_add_dev+0x154/0x41c)
[    1.480000]  r5:c79b8580 r4:00000000
[    1.480000] [<c0230d04>] (cpufreq_add_dev+0x0/0x41c) from [<c01b6b4c>] (sysdev_driver_register+0xb8/0x128)
[    1.490000] [<c01b6a94>] (sysdev_driver_register+0x0/0x128) from [<c022ff6c>] (cpufreq_register_driver+0xf4/0x1a0)
[    1.500000]  r6:c040059c r5:c03fcdc0 r4:c0426be8
[    1.500000] [<c022fe78>] (cpufreq_register_driver+0x0/0x1a0) from [<c000f768>] (davinci_cpufreq_probe+0x90/0xb0)
[    1.520000]  r5:c03fcdc0 r4:c0426be8
[    1.520000] [<c000f6d8>] (davinci_cpufreq_probe+0x0/0xb0) from [<c01b9230>] (platform_drv_probe+0x20/0x24)
[    1.530000]  r5:c03fd540 r4:c03fd540
[    1.530000] [<c01b9210>] (platform_drv_probe+0x0/0x24) from [<c01b8254>] (driver_probe_device+0xb0/0x164)
[    1.540000] [<c01b81a4>] (driver_probe_device+0x0/0x164) from [<c01b8370>] (__driver_attach+0x68/0x8c)
[    1.550000]  r7:c7905540 r6:c040059c r5:c03fd574 r4:c03fd540
[    1.560000] [<c01b8308>] (__driver_attach+0x0/0x8c) from [<c01b7a14>] (bus_for_each_dev+0x50/0x84)
[    1.570000]  r7:c7905540 r6:c040059c r5:c01b8308 r4:00000000
[    1.570000] [<c01b79c4>] (bus_for_each_dev+0x0/0x84) from [<c01b80b8>] (driver_attach+0x20/0x28)
[    1.580000]  r6:c040059c r5:c040059c r4:c0023f54
[    1.590000] [<c01b8098>] (driver_attach+0x0/0x28) from [<c01b72ec>] (bus_add_driver+0xa4/0x230)
[    1.590000] [<c01b7248>] (bus_add_driver+0x0/0x230) from [<c01b868c>] (driver_register+0xb0/0x13c)
[    1.600000] [<c01b85dc>] (driver_register+0x0/0x13c) from [<c01b969c>] (platform_driver_register+0x4c/0x60)
[    1.610000]  r9:00000000 r8:00000000 r7:00000001 r6:c000f6b4 r5:c0400588
[    1.620000] r4:c0023f54
[    1.620000] [<c01b9650>] (platform_driver_register+0x0/0x60) from [<c01b96d0>] (platform_driver_probe+0x20/0xb4)
[    1.630000] [<c01b96b0>] (platform_driver_probe+0x0/0xb4) from [<c000f6cc>] (davinci_cpufreq_init+0x18/0x24)
[    1.640000]  r7:00000001 r6:c000f6b4 r5:00000000 r4:c0023f54
[    1.650000] [<c000f6b4>] (davinci_cpufreq_init+0x0/0x24) from [<c002b3a4>] (do_one_initcall+0x64/0x1c4)
[    1.660000] [<c002b340>] (do_one_initcall+0x0/0x1c4) from [<c0008480>] (kernel_init+0xa8/0x12c)
[    1.670000]  r7:00000000 r6:00000000 r5:00000000 r4:c0023f54
[    1.670000] [<c00083d8>] (kernel_init+0x0/0x12c) from [<c00434f4>] (do_exit+0x0/0x6b4)
[    1.680000]  r5:00000000 r4:00000000
[    1.690000] ---[ end trace 4be3d4edb061c65a ]---
[    1.700000] davinci_emac_probe: using random MAC addr: 4e:c2:b5:d5:f5:00
[    1.710000] emac-mii: probed
[    1.710000] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.230000] eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)
[    3.250000] IP-Config: Guessing netmask 255.255.255.0
[    3.250000] IP-Config: Complete:
[    3.250000]      device=eth0, addr=192.168.0.5, mask=255.255.255.0, gw=255.255.255.255,
[    3.260000]      host=192.168.0.5, domain=, nis-domain=(none),
[    3.270000]      bootserver=255.255.255.255, rootserver=192.168.0.10, rootpath=
[    3.280000] Looking up port of RPC 100003/2 on 192.168.0.10
[    5.230000] PHY: 1:00 - Link is Up - 100/Full
[    5.290000] Looking up port of RPC 100005/1 on 192.168.0.10
[    5.300000] VFS: Mounted root (nfs filesystem) on device 0:13.
[    5.310000] Freeing init memory: 140K
[    5.320000] Failed to execute /linuxrc.  Attempting defaults...
[    5.330000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[    5.340000] Backtrace:
[    5.340000] [<c002f730>] (dump_backtrace+0x0/0x114) from [<c030827c>] (dump_stack+0x18/0x1c)
[    5.350000]  r7:00000000 r6:00000000 r5:00000000 r4:c0426d18
[    5.360000] [<c0308264>] (dump_stack+0x0/0x1c) from [<c03082e4>] (panic+0x64/0x13c)
[    5.370000] [<c0308280>] (panic+0x0/0x13c) from [<c002b610>] (init_post+0xe8/0x118)
[    5.370000]  r3:00000000 r2:c79c2200 r1:000000c0 r0:c03995bf
[    5.380000] [<c002b528>] (init_post+0x0/0x118) from [<c00084cc>] (kernel_init+0xf4/0x12c)
[    5.390000]  r5:00000000 r4:c0426420
[    5.390000] [<c00083d8>] (kernel_init+0x0/0x12c) from [<c00434f4>] (do_exit+0x0/0x6b4)
[    5.400000]  r5:00000000 r4:00000000

 CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5    | VT102 |      Offline                                                    

HOW to get rid of this problem? Please help me out.

Thanks,

Gopi


Viewing all articles
Browse latest Browse all 125121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>