Hi Follow the link below for creating RFS.Will work for OMAP3EVM. http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board regards haritha
2009/3/30 jennifer <[email protected]> > > I run the kernel with the follow information in the terminal: > > OMAP3EVM # bootm > ## Booting image at 80000000 ... > Image Name: Linux-2.6.27-omap1-05240-g88b76d > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 1752600 Bytes = 1.7 MB > Load Address: 80008000 > Entry Point: 80008000 > Verifying Checksum ... OK > OK > > Starting kernel ... > > Uncompressing > > Linux................................................................................. > ................................ done, booting the kernel. > <5>Linux version 2.6.27-omap1-05240-g88b76df-dirty > ([email protected]) (gcc version 4.2.1 ( > CodeSourcery Sourcery G++ Lite 2007q3-51)) #2 Thu Mar 26 14:18:57 CST > 2009 > CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=00c5387f > Machine: OMAP3 EVM > Memory policy: ECC disabled, Data cache writeback > <7>On node 0 totalpages: 22528 > <7>free_area_init_node: node 0, pgdat c0375e9c, node_mem_map c03f2000 > <7> DMA zone: 22352 pages, LIFO batch:3 > <6>OMAP3430 ES2.1 > <6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 > CPU0: L1 I VIPT cache. Caches unified at level 2, coherent at level 3 > CPU0: Level 1 cache is separate instruction and data > CPU0: I cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets, > supports RA > CPU0: D cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets, > supports RA WB WT > CPU0: Level 2 cache is unified > CPU0: unified cache: 262144 bytes, associativity 8, 64 byte lines, 512 > sets, > supports WA RA WB WT > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > 22352 > <5>Kernel command line: console=ttyS0,115200n8 rw root=/dev/nfs > nfsroot=192.168.1.105:/home/jennifer > /Android_rfs ip=dhcp nolock,rsize=1024,wsize=1024 rootdelay=2 > video=omapfb:mode:640x...@50 init=/ini > t mem=88M > <3>clock: virt_vdd1_prcm_set: missing clockdomain<3>clock: > virt_vdd2_prcm_set: missing clockdomain<6 > >Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz > <6>GPMC revision 5.0 > <6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts > <6>Total of 96 interrupts on 1 active controller > <6>OMAP34xx GPIO hardware version 2.5 > PID hash table entries: 512 (order: 9, 2048 bytes) > <6>OMAP clockevent source: GPTIMER1 at 32768 Hz > Console: colour dummy device 80x30 > <6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > <6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > <6>Memory: 88MB = 88MB total > <5>Memory: 85204KB available (3212K code, 642K data, 144K init) > <6>Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696) > Mount-cache hash table entries: 512 > <6>CPU: Testing write buffer coherency: ok > <6>net_namespace: 288 bytes > <6>NET: Registered protocol family 16 > <4>MUX: setup J21_34XX_I2C1_SDA (0xd80021bc): 0x1718 -> 0x0118 > <4>MUX: setup K21_34XX_I2C1_SCL (0xd80021ba): 0x1718 -> 0x0118 > <4>MUX: setup AE15_34XX_I2C2_SDA (0xd80021c0): 0x1718 -> 0x0118 > <4>MUX: setup AF15_34XX_I2C2_SCL (0xd80021be): 0x1718 -> 0x0118 > <4>MUX: setup AG14_34XX_I2C3_SDA (0xd80021c4): 0x1718 -> 0x0118 > <4>MUX: setup AF14_34XX_I2C3_SCL (0xd80021c2): 0x1718 -> 0x0118 > <6>OneNAND: Unable to find configuration in GPMC > <6>Switched to new clocking rate (Crystal/DPLL3/MPU): 26.0/332/166 > MHz > <6>OMAP DMA hardware revision 4.0 > <3>USB: No board-specific platform config found > <6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz > <6>twl4030: PIH (irq 7) chaining IRQs 368..375 > <6>twl4030: power (irq 373) chaining IRQs 376..383 > <6>twl4030: gpio (irq 368) chaining IRQs 384..401 > <6>i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz > <6>i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz > <6>twl4030_usb twl4030_usb: Initialized TWL4030 USB module > <5>SCSI subsystem initialized > <6>usbcore: registered new interface driver usbfs > <6>usbcore: registered new interface driver hub > <6>usbcore: registered new device driver usb > <6>musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 > <7>musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), > bulk split (X), HB-ISO Rx (X), H > B-ISO Tx (X), SoftConn) > <7>musb_hdrc: MHDRC RTL version 1.400 > <7>musb_hdrc: setup fifo_mode 4 > <7>musb_hdrc: 29/31 max ep, 15424/16384 memory > <7>musb_hdrc: hw_ep 0shared, max 64 > <7>musb_hdrc: hw_ep 1tx, max 512 > <7>musb_hdrc: hw_ep 1rx, max 512 > <7>musb_hdrc: hw_ep 2tx, max 512 > <7>musb_hdrc: hw_ep 2rx, max 512 > <7>musb_hdrc: hw_ep 3tx, max 512 > <7>musb_hdrc: hw_ep 3rx, max 512 > <7>musb_hdrc: hw_ep 4tx, max 512 > <7>musb_hdrc: hw_ep 4rx, max 512 > <7>musb_hdrc: hw_ep 5tx, max 512 > <7>musb_hdrc: hw_ep 5rx, max 512 > <7>musb_hdrc: hw_ep 6tx, max 512 > <7>musb_hdrc: hw_ep 6rx, max 512 > <7>musb_hdrc: hw_ep 7tx, max 512 > <7>musb_hdrc: hw_ep 7rx, max 512 > <7>musb_hdrc: hw_ep 8tx, max 512 > <7>musb_hdrc: hw_ep 8rx, max 512 > <7>musb_hdrc: hw_ep 9tx, max 512 > <7>musb_hdrc: hw_ep 9rx, max 512 > <7>musb_hdrc: hw_ep 10tx, max 512 > <7>musb_hdrc: hw_ep 10rx, max 512 > <7>musb_hdrc: hw_ep 11tx, max 512 > <7>musb_hdrc: hw_ep 11rx, max 512 > <7>musb_hdrc: hw_ep 12tx, max 512 > <7>musb_hdrc: hw_ep 12rx, max 512 > <7>musb_hdrc: hw_ep 13tx, max 512 > <7>musb_hdrc: hw_ep 13rx, max 512 > <7>musb_hdrc: hw_ep 14shared, max 1024 > <7>musb_hdrc: hw_ep 15shared, max 1024 > <6>musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92 > <6>NET: Registered protocol family 2 > <7>Switched to high resolution mode on CPU 0 > <6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > <6>TCP established hash table entries: 4096 (order: 3, 32768 bytes) > <6>TCP bind hash table entries: 4096 (order: 2, 16384 bytes) > <6>TCP: Hash tables configured (established 4096 bind 4096) > <6>TCP reno registered > <6>NET: Registered protocol family 1 > <4>NetWinder Floating Point Emulator V0.97 (double precision) > <6>ashmem: initialized > <5>VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > <6>JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. > <6>msgmni has been set to 166 > <6>io scheduler noop registered > <6>io scheduler anticipatory registered (default) > <6>io scheduler deadline registered > <6>io scheduler cfq registered > <6>omapfb: configured for panel omap3evm > <6>omapfb: DISPC version 3.0 initialized > <6>omapfb: Framebuffer initialized. Total vram 1228800 planes 1 > <6>omapfb: Pixclock 24000 kHz hfreq 45.7142 kHz vfreq 70.3 Hz > <6>Serial: 8250/16550 driver4 ports, IRQ sharing enabled > <6>serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 > <6>console [ttyS0] enabled > Linux version 2.6.27-omap1-05240-g88b76df-dirty > ([email protected]) (gcc version 4.2.1 (Cod > eSourcery Sourcery G++ Lite 2007q3-51)) #2 Thu Mar 26 14:18:57 CST > 2009 > CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=00c5387f > Machine: OMAP3 EVM > Memory policy: ECC disabled, Data cache writeback > OMAP3430 ES2.1 > SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 > CPU0: L1 I VIPT cache. Caches unified at level 2, coherent at level 3 > CPU0: Level 1 cache is separate instruction and data > CPU0: I cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets, > supports RA > CPU0: D cache: 16384 bytes, associativity 4, 64 byte lines, 64 sets, > supports RA WB WT > CPU0: Level 2 cache is unified > CPU0: unified cache: 262144 bytes, associativity 8, 64 byte lines, 512 > sets, > supports WA RA WB WT > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > 22352 > Kernel command line: console=ttyS0,115200n8 rw root=/dev/nfs > nfsroot=192.168.1.105:/home/jennifer/An > droid_rfs ip=dhcp nolock,rsize=1024,wsize=1024 rootdelay=2 > video=omapfb:mode:640x...@50 init=/init m > em=88M > clock: virt_vdd1_prcm_set: missing clockdomain<3>clock: > virt_vdd2_prcm_set: missing clockdomain<6>Cl > ocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz > GPMC revision 5.0 > IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts > Total of 96 interrupts on 1 active controller > OMAP34xx GPIO hardware version 2.5 > PID hash table entries: 512 (order: 9, 2048 bytes) > OMAP clockevent source: GPTIMER1 at 32768 Hz > Console: colour dummy device 80x30 > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > Memory: 88MB = 88MB total > Memory: 85204KB available (3212K code, 642K data, 144K init) > Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > net_namespace: 288 bytes > NET: Registered protocol family 16 > MUX: setup J21_34XX_I2C1_SDA (0xd80021bc): 0x1718 -> 0x0118 > MUX: setup K21_34XX_I2C1_SCL (0xd80021ba): 0x1718 -> 0x0118 > MUX: setup AE15_34XX_I2C2_SDA (0xd80021c0): 0x1718 -> 0x0118 > MUX: setup AF15_34XX_I2C2_SCL (0xd80021be): 0x1718 -> 0x0118 > MUX: setup AG14_34XX_I2C3_SDA (0xd80021c4): 0x1718 -> 0x0118 > MUX: setup AF14_34XX_I2C3_SCL (0xd80021c2): 0x1718 -> 0x0118 > OneNAND: Unable to find configuration in GPMC > <6>Switched to new clocking rate (Crystal/DPLL3/MPU): 26.0/332/166 > MHz > OMAP DMA hardware revision 4.0 > USB: No board-specific platform config found > i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz > twl4030: PIH (irq 7) chaining IRQs 368..375 > twl4030: power (irq 373) chaining IRQs 376..383 > twl4030: gpio (irq 368) chaining IRQs 384..401 > i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz > i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz > twl4030_usb twl4030_usb: Initialized TWL4030 USB module > SCSI subsystem initialized > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 > musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92 > NET: Registered protocol family 2 > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > TCP bind hash table entries: 4096 (order: 2, 16384 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > TCP reno registered > NET: Registered protocol family 1 > NetWinder Floating Point Emulator V0.97 (double precision) > ashmem: initialized > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc. > msgmni has been set to 166 > io scheduler noop registered > io scheduler anticipatory registered (default) > io scheduler deadline registered > io scheduler cfq registered > omapfb: configured for panel omap3evm > omapfb: DISPC version 3.0 initialized > omapfb: Framebuffer initialized. Total vram 1228800 planes 1 > omapfb: Pixclock 24000 kHz hfreq 45.7142 kHz vfreq 70.3 Hz > Serial: 8250/16550 driver4 ports, IRQ sharing enabled > serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 > console [ttyS0] enabled > <6>serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 > serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 > <6>serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 > serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 > <6>brd: module loaded > brd: module loaded > <6>loop: module loaded > loop: module loaded > <6>logger: created 64K log 'log_main' > logger: created 64K log 'log_main' > <6>logger: created 256K log 'log_events' > logger: created 256K log 'log_events' > <6>logger: created 64K log 'log_radio' > logger: created 64K log 'log_radio' > eth0: LAN9115 (rev 2) at 0x2c000000 IRQ 336eth0: LAN9115 (rev 2) at > 0x2c000000 IRQ 336 > > eth0: Ethernet addr: eth0: Ethernet addr: 00:00:50:50:c2:c2:7e:7e:8a: > 8a:bc > bc > <7>eth0: LAN911x Internal PHY > <6>i2c /dev entries driver > i2c /dev entries driver > <4>Driver 'sd' needs updating - please use bus_type methods > Driver 'sd' needs updating - please use bus_type methods > <6>OneNAND driver initializing > OneNAND driver initializing > <5>usbmon: debugfs is not available > usbmon: debugfs is not available > <6>Initializing USB Mass Storage driver... > Initializing USB Mass Storage driver... > <6>usbcore: registered new interface driver usb-storage > usbcore: registered new interface driver usb-storage > <6>USB Mass Storage support registered. > USB Mass Storage support registered. > <6>usbcore: registered new interface driver usbtest > usbcore: registered new interface driver usbtest > <6>input: omap_twl4030keypad as /class/input/input0 > input: omap_twl4030keypad as /class/input/input0 > <6>ads7846 spi1.0: touchscreen, irq 335 > ads7846 spi1.0: touchscreen, irq 335 > <6>input: ADS784x Touchscreen as /class/input/input1 > input: ADS784x Touchscreen as /class/input/input1 > <6>OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec > OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec > <6>usbcore: registered new interface driver usbhid > usbcore: registered new interface driver usbhid > <6>usbhid: v2.6:USB HID core driver > usbhid: v2.6:USB HID core driver > <6>TCP cubic registered > TCP cubic registered > <6>NET: Registered protocol family 17 > NET: Registered protocol family 17 > <6>NET: Registered protocol family 15 > NET: Registered protocol family 15 > <6>RPC: Registered udp transport module. > RPC: Registered udp transport module. > <6>RPC: Registered tcp transport module. > RPC: Registered tcp transport module. > <3>Power Management for TI OMAP3. > Power Management for TI OMAP3. > <6>SmartReflex driver initialized > SmartReflex driver initialized > <6>Disabling unused clock "gpt2_ick" > Disabling unused clock "gpt2_ick" > <6>Disabling unused clock "gpio2_dbck" > Disabling unused clock "gpio2_dbck" > <6>Disabling unused clock "gpio3_dbck" > Disabling unused clock "gpio3_dbck" > <6>Disabling unused clock "gpio4_dbck" > Disabling unused clock "gpio4_dbck" > <6>Disabling unused clock "gpio5_dbck" > Disabling unused clock "gpio5_dbck" > <6>Disabling unused clock "gpt2_fck" > Disabling unused clock "gpt2_fck" > <6>Disabling unused clock "wdt2_ick" > Disabling unused clock "wdt2_ick" > <6>Disabling unused clock "wdt2_fck" > Disabling unused clock "wdt2_fck" > <6>Disabling unused clock "dpll5_ck" > Disabling unused clock "dpll5_ck" > <6>Disabling unused clock "dpll4_m6x2_ck" > Disabling unused clock "dpll4_m6x2_ck" > <6>Disabling unused clock "dpll4_m5x2_ck" > Disabling unused clock "dpll4_m5x2_ck" > <6>Disabling unused clock "dpll3_m3x2_ck" > Disabling unused clock "dpll3_m3x2_ck" > <6>Disabling unused clock "sys_clkout1" > Disabling unused clock "sys_clkout1" > <6>VFP support v0.3: VFP support v0.3: implementor 41 architecture 3 > part 30 variant c rev 1 > implementor 41 architecture 3 part 30 variant c rev 1 > drivers/rtc/hctosys.c: unable to open rtc device (rtc0) > drivers/rtc/hctosys.c: unable to open rtc device (rtc0) > <6>eth0: link down > eth0: link down > <5>Sending DHCP requests .Sending DHCP requests .<6>eth0: link up, > 100Mbps, full-duplex, lpa 0x05E1 > <6>eth0: link up, 100Mbps, full-duplex, lpa 0x05E1 > ..,, OK > OK > IP-Config: Got DHCP answer from 0.0.0.0, IP-Config: Got DHCP answer > from 0.0.0.0, my address is 192. > 168.1.104 > my address is 192.168.1.104 > IP-Config: Complete:IP-Config: Complete: > device=eth0 > device=eth0, addr=192.168.1.104, addr=192.168.1.104, > mask=255.255.255.0, mask=255.255.255.0, gw > =192.168.1.1, gw=192.168.1.1, > host=192.168.1.104, domain=domain, nis-domain=(none), > host=192.168.1.104, domain=domain, nis-domain=(none), > bootserver=0.0.0.0, > bootserver=0.0.0.0, rootserver=192.168.1.105, > rootserver=192.168.1.105, rootpath=, rootpath= > > <6>Waiting 2sec before mounting root device... > Waiting 2sec before mounting root device... > <5>Looking up port of RPC 100003/2 on 192.168.1.105 > Looking up port of RPC 100003/2 on 192.168.1.105 > <5>Looking up port of RPC 100005/1 on 192.168.1.105 > Looking up port of RPC 100005/1 on 192.168.1.105 > VFS: Mounted root (nfs filesystem). > VFS: Mounted root (nfs filesystem). > <6>Freeing init memory: 144K > Freeing init memory: 144K > <4>Warning: unable to open an initial console. > Warning: unable to open an initial console. > <3>init: cannot open '/initlogo.rle' > init: cannot open '/initlogo.rle' > <3>init: Unable to open persistent property directory /data/property > errno: 2 > init: Unable to open persistent property directory /data/property > errno: 2 > <3>init: cannot find '/system/bin/playmp3', disabling 'bootsound' > init: cannot find '/system/bin/playmp3', disabling 'bootsound' > sh: can't access tty; job control turned off > # <6>warning: `rild' uses 32-bit capabilities (legacy support in use) > warning: `rild' uses 32-bit capabilities (legacy support in use) > <6>request_suspend_state: wakeup (3->0) at 23607482910 (1970-01-01 > 00:00:23.607482910 UTC) > request_suspend_state: wakeup (3->0) at 23607482910 (1970-01-01 > 00:00:23.607482910 UTC) > <6>request_suspend_state: wakeup (0->0) at 24186004638 (1970-01-01 > 00:00:24.186004638 UTC) > request_suspend_state: wakeup (0->0) at 24186004638 (1970-01-01 > 00:00:24.186004638 UTC) > <6>request_suspend_state: wakeup (0->0) at 29410034179 (1970-01-01 > 00:00:29.410034179 UTC) > request_suspend_state: wakeup (0->0) at 29410034179 (1970-01-01 > 00:00:29.410034179 UTC) > <6>request_suspend_state: wakeup (0->0) at 35350250244 (1970-01-01 > 00:00:35.350219726 UTC) > request_suspend_state: wakeup (0->0) at 35350250244 (1970-01-01 > 00:00:35.350219726 UTC) > <6>request_suspend_state: wakeup (0->0) at 40411346435 (1970-01-01 > 00:00:40.411315917 UTC) > request_suspend_state: wakeup (0->0) at 40411346435 (1970-01-01 > 00:00:40.411315917 UTC) > <6>request_suspend_state: wakeup (0->0) at 45559783935 (1970-01-01 > 00:00:45.559783935 UTC) > request_suspend_state: wakeup (0->0) at 45559783935 (1970-01-01 > 00:00:45.559783935 UTC) > <6>request_suspend_state: wakeup (0->0) at 50434753417 (1970-01-01 > 00:00:50.434722900 UTC) > request_suspend_state: wakeup (0->0) at 50434753417 (1970-01-01 > 00:00:50.434722900 UTC) > > > > Now I don't know how to make the root filesystem for the evm with > android .Please give me some detailed steps. > Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
