Hello Again,

I was able to boot to shell using init=/bin/sh and manually run the linuxrc
script.  I get the following output:

/ # ./linuxrc
open file errer!
Illegal instruction
ifconfig: SIOCSIFHWADDR: Device or resource busy
route: SIOCADDRT: File exists
log_init
reading config file
[ on init ]
[ on boot ]
[ service console ]
[ service adbd ]
[ on property:ro.kernel.qemu=1 ]
[ on property:persist.service.adb.enable=1 ]
[ on property:persist.service.adb.enable=0 ]
[ service servicemanager ]
[ service vold ]
[ service nexus ]
[ service debuggerd ]
[ service ril-daemon ]
[ service zygote ]
[ service media ]
[ service bootsound ]
[ service bootanim ]
[ service dbus ]
[ service hcid ]
[ service hfag ]
[ service hsag ]
[ service installd ]
[ service flash_recovery ]
[ service racoon ]
[ service mtpd ]
[ service keystore ]
Segmentation fault
/ # vi linuxrc

This leads me to think that there is an error in my linuxrc file.

Thanks,

Dan Moore

On Thu, Jan 7, 2010 at 12:01 PM, Daniel Moore
<daniel.james.mo...@gmail.com>wrote:

> Hello All,
>
> Below is a boot log from my attempts to boot Android on the mini2440
> FriendlyArm platform[1][2].  If you could be so kind as to assist me with
> resolving this error please let me know.
>
> ##### FriendlyARM BIOS 2.0 for 2440 #####
> [x] format NAND FLASH for Linux
> [v] Download vivi
> [k] Download linux kernel
> [y] Download root_yaffs image
> [a] Absolute User Application
> [n] Download Nboot for WinCE
> [l] Download WinCE boot-logo
> [w] Download WinCE NK.bin
> [d] Download & Run
> [z] Download zImage into RAM
> [g] Boot linux from RAM
> [f] Format the nand flash
> [b] Boot the system
> [s] Set the boot parameters
> [u] Backup NAND Flash to HOST through USB(upload)
> [r] Restore NAND Flash from HOST through USB
> [q] Goto shell of vivi
> Enter your selection: y
> USB host is connected. Waiting a download.
>
> Now, Downloading [ADDRESS:30000000h,TOTAL:69622090]
> Downloaded file at 0x30000000, size = 69622080 bytes
> Flash params: oobsize = 64, oobblock = 2048, erasesize = 131072, partition
> size
> = 131596288
> Erasing and programming NAND with yaffs image
>  Block erasing(addr/count) --- Block bad(addr/count) --- Block
> processed/All(%)
>
> --------------------------------------------------------------------------------
>
>      0x07fc0000/01004            0x00000000/00000
> 01004/01004=100%
> Load yaffs OK:
> Blocks scanned: 1004, Blocks erased: 1004, Blocks are bad: 0
> RECEIVED and Writed FILE SIZE:69622090 (548KB/S, 124S)
>
> ##### FriendlyARM BIOS 2.0 for 2440 #####
> [x] format NAND FLASH for Linux
> [v] Download vivi
> [k] Download linux kernel
> [y] Download root_yaffs image
> [a] Absolute User Application
> [n] Download Nboot for WinCE
> [l] Download WinCE boot-logo
> [w] Download WinCE NK.bin
> [d] Download & Run
> [z] Download zImage into RAM
> [g] Boot linux from RAM
> [f] Format the nand flash
> [b] Boot the system
> [s] Set the boot parameters
> [u] Backup NAND Flash to HOST through USB(upload)
> [r] Restore NAND Flash from HOST through USB
> [q] Goto shell of vivi
> Enter your selection: b
> Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00200000 ... done
> zImage magic = 0x016f2818
> Setup linux parameters at 0x30000100
> linux command line is: "noinitrd console=ttySAC0,115200 root=/dev/mtdblock2
> init
> =/linuxrc mini2440=2tb"
> MACH_TYPE = 1999
> NOW, Booting Linux......
> Uncompressing
> Linux.............................................................
> ........................................................... done, booting
> the ke
> rnel.
> Linux version 2.6.27-FriendlyARM (r...@debian) (gcc version 4.3.2
> (Sourcery G++
> Lite 2008q3-72) ) #2 Sun Dec 13 23:28:28 EST 2009
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
> Machine: SMDK2440
> ATAG_INITRD is deprecated; please update your bootloader.
> Memory policy: ECC disabled, Data cache writeback
> CPU S3C2440A (id 0x32440001)
> MM: CPU does not support supersection mapping for 0x55000000000 at
> 0xf0d00000
> S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
> S3C24XX Clocks, (c) 2004 Simtec Electronics
> CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
> CPU0: D VIVT write-back cache
> CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
> Kernel command line: noinitrd console=ttySAC0,115200 root=/dev/mtdblock2
> init=/l
> inuxrc mini2440=2tb
> irq: clearing subpending status 00000003
> irq: clearing subpending status 00000002
> PID hash table entries: 256 (order: 8, 1024 bytes)
> timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
> Console: colour dummy device 80x30
> console [ttySAC0] enabled
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 64MB = 64MB total
> Memory: 60920KB available (3460K code, 359K data, 108K init)
> SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> net_namespace: 288 bytes
> NET: Registered protocol family 16
> S3C2440: Initialising architecture
> S3C2440: IRQ Support
> S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
> DMA channel 0 at c4800000, irq 33
> DMA channel 1 at c4800040, irq 34
> DMA channel 2 at c4800080, irq 35
> DMA channel 3 at c48000c0, irq 36
> S3C244X: Clock Support, DVS off
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP reno registered
> NET: Registered protocol family 1
> yaffs Dec 13 2009 23:22:41 Installing.
> msgmni has been set to 119
> io scheduler noop registered (default)
> Console: switching to colour frame buffer device 30x20
> fb0: s3c2410fb frame buffer device
> adc     initialized
> input: buttons as /devices/virtual/input/input0
> buttons initialized
> leds    initialized
> s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
> s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
> s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
> loop: module loaded
> dm9000 Ethernet Driver, V1.31
> Now use the default MAC address: 08:90:90:90:90:90
> eth0: dm9000e at c4804000,c4806004 IRQ 51 MAC: c3904134 (friendly-arm)
> usbcore: registered new interface driver rt73usb
> Linux video capture interface: v2.00
> gspca: main v2.2.0 registered
> usbcore: registered new interface driver conex
> conex: registered
> usbcore: registered new interface driver etoms
> etoms: registered
> usbcore: registered new interface driver mars
> mars: registered
> usbcore: registered new interface driver ov519
> ov519: registered
> usbcore: registered new interface driver pac207
> pac207: registered
> usbcore: registered new interface driver pac7311
> pac7311: registered
> usbcore: registered new interface driver sonixb
> sonixb: registered
> usbcore: registered new interface driver sonixj
> sonixj: registered
> usbcore: registered new interface driver spca500
> spca500: registered
> usbcore: registered new interface driver spca501
> spca501: registered
> usbcore: registered new interface driver spca505
> spca505: registered
> usbcore: registered new interface driver spca506
> spca506: registered
> usbcore: registered new interface driver spca508
> spca508: registered
> usbcore: registered new interface driver spca561
> spca561: registered
> usbcore: registered new interface driver sunplus
> sunplus: registered
> usbcore: registered new interface driver stk014
> stk014: registered
> usbcore: registered new interface driver t613
> t613: registered
> usbcore: registered new interface driver tv8532
> tv8532: registered
> usbcore: registered new interface driver vc032x
> vc032x: registered
> usbcore: registered new interface driver zc3xx
> zc3xx: registered
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (v0.1.0)
> Driver 'sd' needs updating - please use bus_type methods
> S3C24XX NAND Driver, (c) 2004 Simtec Electronics
> s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V
> 8-bi
> t)
> NAND_ECC_NONE selected by board driver. This is not recommended !!
> Scanning device for bad blocks
> Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit":
> 0x00000000-0x00060000 : "supervivi"
> 0x00060000-0x00260000 : "Kernel"
> 0x00260000-0x40260000 : "root"
> mtd: partition "root" extends beyond the end of device "NAND 128MiB 3,3V
> 8-bit"
> -- size truncated to 0x7da0000
> 0x00000000-0x40000000 : "nand"
> mtd: partition "nand" extends beyond the end of device "NAND 128MiB 3,3V
> 8-bit"
> -- size truncated to 0x8000000
> s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
> s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
> s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
> usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb1: Product: S3C24XX OHCI
> usb usb1: Manufacturer: Linux 2.6.27-FriendlyARM ohci_hcd
> usb usb1: SerialNumber: s3c24xx
> Initializing USB Mass Storage driver...
> usb 1-1: new low speed USB device using s3c2410-ohci and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> usb 1-1: New USB device found, idVendor=0e02, idProduct=1001
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: i-Pen Mouse FM-100BN
> usb 1-1: Manufacturer: Finger System Inc.
> usb 1-1: SerialNumber: M1
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usbcore: registered new interface driver usbserial
> usbserial: USB Serial Driver core
> usbserial: USB Serial support registered for pl2303
> usbcore: registered new interface driver pl2303
> pl2303: Prolific PL2303 USB to serial adaptor driver
> mice: PS/2 mouse device common for all mice
> S3C24XX RTC, (c) 2004,2006 Simtec Electronics
> s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
> s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
> i2c /dev entries driver
> s3c2440-i2c s3c2440-i2c: slave address 0x10
> s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
> s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
> S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
> s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
> mapped channel 0 to 0
> s3c2440-sdi s3c2440-sdi: powered down.
> s3c2440-sdi s3c2440-sdi: initialisation done.
> s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
> s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
> s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
> s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
> s3c2440-sdi s3c2440-sdi: powered down.
> input: Finger System Inc. i-Pen Mouse FM-100BN as
> /devices/platform/s3c2410-ohci
> /usb1/1-1/1-1:1.0/input/input1
> input: USB HID v1.00 Mouse [Finger System Inc. i-Pen Mouse FM-100BN] on
> usb-s3c2
> 4xx-1
> usbcore: registered new interface driver usbhid
> usbhid: v2.6:USB HID core driver
> Advanced Linux Sound Architecture Driver Version 1.0.17.
> No device for DAI UDA134X
> No device for DAI s3c24xx-i2s
> ALSA device list:
>   No soundcards found.
> TCP cubic registered
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
> FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem
> will b
> e case sensitive!
> yaffs: dev is 32505858 name is "mtdblock2"
> yaffs: passed flags ""
> yaffs: Attempting MTD mount on 31.2, "mtdblock2"
> yaffs: auto selecting yaffs2
> yaffs_read_super: isCheckpointed 0
> VFS: Mounted root (yaffs filesystem).
> Freeing init memory: 108K
> mknod: /myDev/ts0: No such file or directory
> mknod: /myDev/fb0: No such file or directory
> mknod: /myDev/ts_ctl: No such file or directory
> open file errer!
> Illegal instruction
> eth0: link down
> log_init
> reading config file
> [ on init ]
> [ on boot ]
> [ service console ]
> [ service adbd ]
> [ on property:ro.kernel.qemu=1 ]
> [ on property:persist.service.adb.enable=1 ]
> [ on property:persist.service.adb.enable=0 ]
> [ service servicemanager ]
> [ service vold ]
> [ service nexus ]
> [ service debuggerd ]
> [ service ril-daemon ]
> [ service zygote ]
> [ service media ]
> [ service bootsound ]
> [ service bootanim ]
> [ service dbus ]
> [ service hcid ]
> [ service hfag ]
> [ service hsag ]
> [ service installd ]
> [ service flash_recovery ]
> [ service racoon ]
> [ service mtpd ]
> [ service keystore ]
> Kernel panic - not syncing: Attempted to kill init!
>
>
>
> Thanks
>
> Dan Moore
>
> [1] FriendlyARM mini2440 is a ARMv4 ARM920T with 128M of NAND and 64M of
> RAM
> [2] FriendlyARM.net
> --
> "I believe in science. Unlike mathematical theorems, scientific results
> can't be proved. They can only be tested again and again, until only a fool
> would not believe them.
>
> I cannot prove that electrons exist, but I believe fervently in their
> existence. And if you don't believe in them, I have a high voltage cattle
> prod I'm willing to apply as an argument on their behalf. Electrons speak
> for themselves."
>
> -- Seth Lloyd: Quantum Mechanical Engineer, MIT
>
> /.
>



-- 
"I believe in science. Unlike mathematical theorems, scientific results
can't be proved. They can only be tested again and again, until only a fool
would not believe them.

I cannot prove that electrons exist, but I believe fervently in their
existence. And if you don't believe in them, I have a high voltage cattle
prod I'm willing to apply as an argument on their behalf. Electrons speak
for themselves."

-- Seth Lloyd: Quantum Mechanical Engineer, MIT

/.
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to