Hello, I am having trouble getting a freedom box image running.
I have per instructions on https://freedomboxfoundation.org/ubootUpgradeInstructions/index.en.html downloaded the latest version of uboot, which happened to be u-boot_2012.04.01-2_armel.deb, and put that on the dreamplug via the usb stick route. I dd'ed the image from https://www.betweennowhere.net/tracker/freedombox-images/freedombox-unstable_2012.1021/ onto the internal SD card. The dreamplug is version 1001, according to the sticker with the ethernet addresses on the back of the plug. I contains a 4 GB microcard. According to the docs on newit (http://www.newit.co.uk/forum/) this is a new version of the dreamplug. It originally contains a different startup sequence (ext2load usb 0 0x6400000 uImage), but the updated uboot overwrote these settings. After the bootup, I got the following uboot message: U-Boot 2012.04.01 (Jun 01 2012 - 02:17:08) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled SF: Detected MX25L1605D with page size 64 KiB, total 2 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1116 Initialized on egiga0 88E1116 Initialized on egiga1 Hit any key to stop autoboot: 0 The setup parameters: Marvell>> printenv baudrate=115200 bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000; bootdelay=3 ethact=egiga0 stderr=serial stdin=serial stdout=serial x_bootargs=console=ttyS0,115200 x_bootargs_root=root=/dev/sda2 rootdelay=10 x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_kernel=fatload usb 0 0x6400000 uImage x_bootcmd_usb=usb start Environment size: 496/4092 bytes Starting the image, however, caused the following, ending with a kernel panic for not having the right root fs in place. Is there something in the combination of uboot, image and dreamplug that is causing this fatal combination? U-Boot 2012.04.01 (Jun 01 2012 - 02:17:08) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled SF: Detected MX25L1605D with page size 64 KiB, total 2 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1116 Initialized on egiga0 88E1116 Initialized on egiga1 Hit any key to stop autoboot: 3 2 1 0 No link on egiga0 *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 6 USB Device(s) found scanning bus for storage devices... Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found reading uImage 1600688 bytes read ## Booting kernel from Legacy Image at 06400000 ... Image Name: Debian kernel 3.2.0-3-kirkwood Created: 2012-10-22 2:43:27 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1600624 Bytes = 1.5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-3-kirkwood (Debian 3.2.23-1) ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-8) ) #1 Mon Jul 23 22:36:47 UTC 2012 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell Kirkwood (Flattened Device Tree), model: Globalscale Technologies Dreamplug [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=10 [ 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] Memory: 512MB = 512MB total [ 0.000000] Memory: 515004k/515004k available, 9284k 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 - 0xfe800000 ( 480 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc03dfef4 (3936 kB) [ 0.000000] .init : 0xc03e0000 - 0xc0404000 ( 144 kB) [ 0.000000] .data : 0xc0404000 - 0xc043de60 ( 232 kB) [ 0.000000] .bss : 0xc043de84 - 0xc04a19ac ( 399 kB) [ 0.000000] NR_IRQS:114 [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms [ 0.000000] Console: colour dummy device 80x30 [ 5.117463] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 5.207348] pid_max: default: 32768 minimum: 301 [ 5.207475] Security Framework initialized [ 5.207549] Mount-cache hash table entries: 512 [ 5.207977] Initializing cgroup subsys cpuacct [ 5.208003] Initializing cgroup subsys memory [ 5.208028] Initializing cgroup subsys devices [ 5.208038] Initializing cgroup subsys freezer [ 5.208047] Initializing cgroup subsys net_cls [ 5.208056] Initializing cgroup subsys blkio [ 5.208076] Initializing cgroup subsys perf_event [ 5.208167] CPU: Testing write buffer coherency: ok [ 5.209422] devtmpfs: initialized [ 5.211189] print_constraints: dummy: [ 5.211432] NET: Registered protocol family 16 [ 5.212196] Kirkwood: MV88F6281-A1, TCLK=200000000. [ 5.212210] Feroceon L2: Enabling L2 [ 5.212245] Feroceon L2: Cache support initialised. [ 5.213622] No ATAGs? [ 5.215432] bio: create slab <bio-0> at 0 [ 5.215807] vgaarb: loaded [ 5.216266] Switching to clocksource orion_clocksource [ 5.230383] NET: Registered protocol family 2 [ 5.230586] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 5.231188] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 5.231541] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 5.231720] TCP: Hash tables configured (established 16384 bind 16384) [ 5.231729] TCP reno registered [ 5.231738] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 5.231759] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 5.231969] NET: Registered protocol family 1 [ 5.232149] NetWinder Floating Point Emulator V0.97 (double precision) [ 5.232625] audit: initializing netlink socket (disabled) [ 5.232653] type=2000 audit(0.090:1): initialized [ 5.243578] VFS: Disk quotas dquot_6.5.2 [ 5.243667] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 5.243768] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 5.244090] msgmni has been set to 1005 [ 5.245562] alg: No test for stdrng (krng) [ 5.245680] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 5.245694] io scheduler noop registered [ 5.245701] io scheduler deadline registered [ 5.245758] io scheduler cfq registered (default) [ 5.245834] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 5.245866] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 5.276333] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 5.316330] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 5.356330] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 5.396330] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 5.396677] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 5.397319] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 0) is a 16550A [ 5.820362] console [ttyS0] enabled [ 5.825218] m25p80 spi0.0: mx25l1606e (2048 Kbytes) [ 5.830154] Creating 3 MTD partitions on "spi_flash": [ 5.835233] 0x000000000000-0x000000080000 : "u-boot" [ 5.841071] 0x000000100000-0x000000110000 : "u-boot env" [ 5.847251] 0x000000180000-0x000000190000 : "dtb" [ 5.853094] mousedev: PS/2 mouse device common for all mice [ 5.859078] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0 [ 5.866044] i2c /dev entries driver [ 5.869736] cpuidle: using governor ladder [ 5.873920] cpuidle: using governor menu [ 5.878981] TCP cubic registered [ 5.882221] NET: Registered protocol family 17 [ 5.886714] Registering the dns_resolver key type [ 5.891924] registered taskstats version 1 [ 5.896520] rtc-mv f1010300.rtc: setting system clock to 2012-11-10 11:43:42 UTC (1352547822) [ 5.905131] Initializing network drop monitor service [ 5.910389] Waiting 10sec before mounting root device... [ 15.916364] List of all partitions: [ 15.919870] 1f00 512 mtdblock0 (driver?) [ 15.924951] 1f01 64 mtdblock1 (driver?) [ 15.930053] 1f02 64 mtdblock2 (driver?) [ 15.935131] No filesystem could mount root, tried: [ 15.940045] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 15.948378] [<c0013664>] (unwind_backtrace+0x0/0xe0) from [<c02c2e14>] (panic+0x50/0x194) [ 15.956615] [<c02c2e14>] (panic+0x50/0x194) from [<c03e0be8>] (mount_block_root+0x234/0x284) [ 15.965104] [<c03e0be8>] (mount_block_root+0x234/0x284) from [<c03e0dc0>] (prepare_namespace+0x124/0x184) [ 15.974731] [<c03e0dc0>] (prepare_namespace+0x124/0x184) from [<c03e087c>] (kernel_init+0x10c/0x140) [ 15.983927] [<c03e087c>] (kernel_init+0x10c/0x140) from [<c000edf8>] (kernel_thread_exit+0x0/0x8) Johan Henselmans [email protected] _______________________________________________ Freedombox-discuss mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss
