Menno
Bootloader issue + kernel August 23, 2010 02:41PM |
NAND write: device 0 offset 0x100000, size 0x1e30f0 Attempt to write non page aligned data 1978608 bytes written: ERROR Marvell>> U-Boot 2010.03-01266-g42f7128-dirty (Aug 07 2010 - 12:43:01) Marvell-Sheevaplug SoC: Kirkwood 88F6281_A0 DRAM: 128 MB NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x300000 3145728 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> resetenv Unknown command 'resetenv' - try 'help' Marvell>> setenv ipaddr 192.168.2.178 Marvell>> setenv serverip 192.168.2.103 Marvell>> setenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootarg s $(console) $(bootargs_root); bootm 0x800000' Marvell>> saveenv Saving Environment to NAND... Erasing Nand... Erasing at 0xc0000 -- 100% complete. Writing to Nand... done Marvell>> nand erase 0x100000 0x400000 NAND erase: device 0 offset 0x100000, size 0x400000 Erasing at 0x4e0000 -- 100% complete. OK Marvell>> tftp 0x800000 ce_kernel_redstone_v63.img Using egiga0 device TFTP from server 192.168.2.103; our IP address is 192.168.2.178 Filename 'ce_kernel_redstone_v63.img'. Load address: 0x800000 Loading: T ################################################################# ################################################################# ##### done Bytes transferred = 1978608 (1e30f0 hex) Marvell>> nand write.e 0x800000 0x100000 0x1e30f0 NAND write: device 0 offset 0x100000, size 0x1e30f0 Attempt to write non page aligned data 1978608 bytes written: ERROR Marvell>>
Menn
Re: Bootloader issue + kernel August 23, 2010 02:45PM |
Re: Bootloader issue + kernel August 23, 2010 02:55PM |
Admin Registered: 14 years ago Posts: 304 |
/usr/local/cloudengines/bin/blparam 'bootcmd=run bootcmd_original'
Menno
Re: Bootloader issue + kernel August 23, 2010 03:03PM |
cd /tmp wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
Menno
Re: Bootloader issue + kernel August 23, 2010 03:04PM |
gorgone
Re: Bootloader issue + kernel August 23, 2010 05:40PM |
gorgone
Re: Bootloader issue + kernel August 23, 2010 05:44PM |
Menno
Re: Bootloader issue + kernel August 24, 2010 01:18AM |
Marvell>> nand write.e 0x800000 0x100000 0x1e30f0
NAND write: device 0 offset 0x100000, size 0x1e30f0 Attempt to write non page aligned data 1978608 bytes written: ERROR
Re: Bootloader issue + kernel August 24, 2010 10:38AM |
Admin Registered: 14 years ago Posts: 304 |
tftp 0x800000 uboot-original-mtd0.kwb go 0x800200
run bootcmd_original
Menno
Re: Bootloader issue + kernel August 24, 2010 01:34PM |
U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16) U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: PP_GTI:3.0 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Saving Environment to NAND... Erasing Nand...Writing to Nand... done NAND read: device 0 offset 0x2500000, size 0x40000 Reading data from 0x253f800 -- 100% complete. 262144 bytes read: OK ## Starting application at 0x00C00000 ... U-Boot 2009.11-00432-g1650ec9-dirty (Mar 07 2010 - 22:13:20) PlugApps Pogoplug SoC: Kirkwood 88F6281_A0 DRAM: 128 MB NAND: 256 MiB Using default environment In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) 1432436 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.32-5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1432372 Bytes = 1.4 MB 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 2.6.32-5-kirkwood (Debian 2.6.32-18) (ben@decadent. org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 Sat Jul 24 13:37:14 UTC 2010 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317 7 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell SheevaPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdela y=10 rootfstype=ext2 [ 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: 125468KB available (3508K code, 582K data, 124K init, 0K highmem) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, N odes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:114 [ 0.000000] Console: colour dummy device 80x30 [ 21.474956] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) [ 21.714914] Security Framework initialized [ 21.714933] SELinux: Disabled at boot. [ 21.714954] Mount-cache hash table entries: 512 [ 21.715201] Initializing cgroup subsys ns [ 21.715214] Initializing cgroup subsys cpuacct [ 21.715224] Initializing cgroup subsys devices [ 21.715232] Initializing cgroup subsys freezer [ 21.715240] Initializing cgroup subsys net_cls [ 21.715274] CPU: Testing write buffer coherency: ok [ 21.715807] devtmpfs: initialized [ 21.717293] regulator: core version 0.5 [ 21.717465] NET: Registered protocol family 16 [ 21.717852] Kirkwood: MV88F6281-A0, TCLK=200000000. [ 21.717865] Feroceon L2: Cache support initialised. [ 21.719744] bio: create slab <bio-0> at 0 [ 21.720029] vgaarb: loaded [ 21.720500] Switching to clocksource orion_clocksource [ 21.724321] NET: Registered protocol family 2 [ 21.724575] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 21.725464] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 21.725564] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 21.725618] TCP: Hash tables configured (established 4096 bind 4096) [ 21.725628] TCP reno registered [ 21.725785] NET: Registered protocol family 1 [ 21.726043] NetWinder Floating Point Emulator V0.97 (double precision) [ 21.726283] audit: initializing netlink socket (disabled) [ 21.726316] type=2000 audit(0.244:1): initialized [ 21.733071] VFS: Disk quotas dquot_6.5.2 [ 21.733341] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 21.733438] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 21.734094] msgmni has been set to 245 [ 21.735815] alg: No test for stdrng (krng) [ 21.735938] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 53) [ 21.735951] io scheduler noop registered [ 21.735959] io scheduler anticipatory registered [ 21.735967] io scheduler deadline registered [ 21.736159] io scheduler cfq registered (default) [ 21.742325] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 21.742808] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 22.053556] console [ttyS0] enabled [ 22.057632] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 25 6MiB 3,3V 8-bit) [ 22.066245] Scanning device for bad blocks [ 22.146313] Creating 3 MTD partitions on "orion_nand": [ 22.151491] 0x000000000000-0x000000100000 : "u-boot" [ 22.157062] 0x000000100000-0x000000500000 : "uImage" [ 22.162560] 0x000000500000-0x000010000000 : "root" [ 22.168622] mice: PS/2 mouse device common for all mice [ 23.180539] rtc-mv rtc-mv: internal RTC not ticking [ 23.185536] i2c /dev entries driver [ 23.189239] cpuidle: using governor ladder [ 23.193493] cpuidle: using governor menu [ 23.197530] Registered led device: plug:green:health [ 23.202585] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 23.208982] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 23.250565] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 23.290564] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 23.330563] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 23.370563] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 23.377344] TCP cubic registered [ 23.380605] NET: Registered protocol family 17 [ 23.385409] registered taskstats version 1 [ 23.390182] /build/buildd-linux-2.6_2.6.32-18-armel-fzSohs/linux-2.6-2.6.32/d ebian/build/source_armel_none/drivers/rtc/hctosys.c: unable to open rtc device ( rtc0) [ 23.404793] Initalizing network drop monitor service [ 23.409829] Waiting 10sec before mounting root device... [ 33.420813] VFS: Cannot open root device "sda1" or unknown-block(0,0) [ 33.427289] Please append a correct "root=" boot option; here are the availab le partitions: [ 33.435704] 1f00 1024 mtdblock0 (driver?) [ 33.440716] 1f01 4096 mtdblock1 (driver?) [ 33.445718] 1f02 257024 mtdblock2 (driver?) [ 33.450723] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno wn-block(0,0) [ 33.459059] [<c002dee4>] (unwind_backtrace+0x0/0xdc) from [<c02b5c68>] (panic +0x34/0x128) [ 33.467296] [<c02b5c68>] (panic+0x34/0x128) from [<c0008fb0>] (mount_block_ro ot+0x25c/0x2b4) [ 33.475792] [<c0008fb0>] (mount_block_root+0x25c/0x2b4) from [<c00091a0>] (pr epare_namespace+0x12c/0x198) [ 33.485427] [<c00091a0>] (prepare_namespace+0x12c/0x198) from [<c00085e0>] (k ernel_init+0xf0/0x12c) [ 33.494530] [<c00085e0>] (kernel_init+0xf0/0x12c) from [<c0028e7c>] (kernel_t hread_exit+0x0/0x8)
Menno
Re: Bootloader issue + kernel August 24, 2010 01:36PM |
Menno
Re: Bootloader issue + kernel August 24, 2010 02:51PM |
setenv bootcmd_usb 'run set_bootargs_usb; run usb_init; ext2load usb $usb_device 0x800000 /boot/uImage; ext2load usb $usb_device 0x1100000 /boot/uInitrd; bootm 0x800000 0x1100000'I get:
Re: Bootloader issue + kernel August 24, 2010 02:59PM |
Admin Registered: 14 years ago Posts: 304 |
Menno
Re: Bootloader issue + kernel August 24, 2010 03:55PM |
Re: Bootloader issue + kernel August 24, 2010 04:03PM |
Admin Registered: 14 years ago Posts: 304 |
Oakley470
Re: Bootloader issue + kernel July 16, 2013 10:03PM |
u-boot>> setenv serverip 169.254.251.110 u-boot>> tftp 0x800000 uboot.mtd0.dockstar.original.kwb Using egiga0 device TFTP from server 169.254.251.110; our IP address is 169.254.251.120 Filename 'uboot.mtd0.dockstar.original.kwb'. Load address: 0x800000 Loading: #################################### done Bytes transferred = 524288 (80000 hex) u-boot>> go 0x800200 ## Starting application at 0x00800200 ... U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16) U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:128 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: PPV2 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 ## Error: "bootcmd_original /usr/local/cloudengines/bin/./blparam" not defined CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro serverip=169.254.254.252 ipaddr=169.254.254.253 ethaddr=00:25:31:00:A2:3A cesvcid=AWVSL58GTCD4T3R3FQGZ8K7G5E ceboardver=PPV2 bootcmd=run bootcmd_original /usr/local/cloudengines/bin/./blparam bootcmd=run stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no Environment size: 758/131068 bytes CE>>Booting to the installed uboot gives the error shown above
## Error: "bootcmd_original /usr/local/cloudengines/bin/./blparam" not defined