New IT forum
27 June 2022, 11:51:03 am *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: 1 ... 3 4 [5]

Author Topic: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"  (Read 30407 times)

kfrank

  • Newbie
  • *
  • Posts: 36
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #60 on: 11 April 2014, 01:56:13 pm »

Also when I "printenv" I get:
Code: [Select]
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage;
baudrate=115200
boot_sdb=fatload usb 1 0x6400000 uImage; bootm 0x6400000;
bootargs=console=ttyS0,115200 root=/dev/sda2 rootdelay=10
bootcmd=run clear_kernel_in_mem; run bootcmd_sdb; run bootcmd_sda
bootcmd_eth=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}
bootcmd_sda=${bootcmd_eth}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootcmd_sdb=setenv bootargs console=ttyS0,115200 root=/dev/sdb2 panic=10 rootwait; usb start; run boot_sdb;
bootdelay=3
clear_kernel_in_mem=echo Purging kernel in memory; mw 0x6400000 0x0 0x300000
eth1addr=02:50:43:07:d2:ca
ethact=egiga0
ethaddr=02:50:43:8d:2e:c8
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_usb=usb start

Environment size: 965/4092 bytes


I cannot delete the "x_bootcmd_kernel=fatload usb 0 0x6400000 uImage;" at the top
when I try "setenv x_bootcmd_kernel" and then "saveenv" it is still there.
 
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #61 on: 11 April 2014, 09:05:54 pm »

I don't believe that image will work with the Wifi chipset in your Dreamplug (but I expected it to boot).

Quote
EHCI timed out on TD - token=0x80008d80
I had this condition - https://newit.co.uk/forum/index.php/topic,2668.msg7539.html#msg7539

Quote
I cannot delete the "x_bootcmd_kernel=...
That sounds like a known old u-boot bug.

Can you please post the output of the u-boot 'bdinfo' and 'version' commands (entered at the 'Marvell>>' prompt)
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

kfrank

  • Newbie
  • *
  • Posts: 36
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #62 on: 11 April 2014, 11:00:57 pm »

Cofusticated,
Here is the output you requested:
bdinfo:
Code: [Select]
arch_number = 0x00000DDE
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x10000000
DRAM bank   = 0x00000001
-> start    = 0x10000000
-> size     = 0x10000000
ethaddr     = 02:50:43:8d:2e:c8
ip_addr     = 0.0.0.0
baudrate    = 115200 bps
TLB addr    = 0x1FFF0000
relocaddr   = 0x1FF80000
reloc off   = 0x1F980000
irq_sp      = 0x1FE7EF68
sp start    = 0x1FE7EF58
FB base     = 0x00000000

and "version":
Code: [Select]
U-Boot 2011.12 (Mar 11 2012 - 18:50:54)
Marvell-DreamPlug
gcc (Debian 4.6.3-1) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22

Thanks again
Logged

kfrank

  • Newbie
  • *
  • Posts: 36
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #63 on: 12 April 2014, 06:08:01 pm »

well in a desperate attempt to get something working I looked on the google code site(https://code.google.com/p/dreamplug/downloads/list) and downloaded the uboot.kwb that was supposed to be for my unit (0901) I successfully installed that.My uboot version is now:
Code: [Select]
U-Boot 2011.06-02334-g8f495d9-dirty (Aug 18 2011 - 02:09:07)
Marvell-DreamPlug

printenv now reads:
Code: [Select]
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
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sda2 rootdelay=10
ethaddr=02:50:43:10:b0:fd
eth1addr=02:50:43:a2:ce:0e
bootargs=console=ttyS0,115200 root=/dev/sda2 rootdelay=10
ethact=egiga0
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage
stdin=serial
stdout=serial
stderr=serial

Environment size: 582/4092 bytes



The boot process gets much further but still does not fully boot. it begins by saying:
Code: [Select]
SoC:   Kirkwood 88F6281_A0
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM:  512 MiB
SF: Detected MX25L1606 with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1318 Initialized on egiga0
88E1318 Initialized on egiga1
Hit any key to stop autoboot:  0




It scrolls by very quickly so I am going to paste in the last bit before it stops... this is the last bit:
Code: [Select]
EXT3-fs error (device sda2): ext3_get_inode_loc: unable to read inode block - inode=160126, block=655369
INIT: cannot execute "/sbin/getty"
INIT: Id "T0" respawning too fassd 0:0:0:0: [sda] Unhandled sense code
t: disabled for sd 0:0:0:0: [sda] 5 minutes
Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 53 34 98 00 00 08 00
end_request: I/O error, dev sda, sector 5452952
EXT3-fs error (device sda2): ext3_get_inode_loc: unable to read inode block - inode=160126, block=655369
INIT: cannot execute "/sbin/getty"
INIT: Id "2" respawning too fastsd 0:0:0:0: [sda] Unhandled sense code
: disabled for 5sd 0:0:0:0: [sda]  minutes
Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 53 34 98 00 00 08 00
end_request: I/O error, dev sda, sector 5452952
EXT3-fs error (device sda2): ext3_get_inode_loc: unable to read inode block - inode=160126, block=655369
INIT: cannot execute "/sbin/getty"
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
sd 0:0:0:0: [sda] Unhandled sense code
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 4c f4 80 00 00 08 00
end_request: I/O error, dev sda, sector 5043328
Buffer I/O error on device sda2, logical block 604166
lost page write due to I/O error on sda2
sd 0:0:0:0: [sda] Unhandled sense code
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 4d 34 88 00 00 08 00
end_request: I/O error, dev sda, sector 5059720
Buffer I/O error on device sda2, logical block 606215
lost page write due to I/O error on sda2

So as I said it gets much farther into the boot process but still does not boot all the way.

Any ideas?
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #64 on: 13 April 2014, 05:49:43 pm »

Looks like your internal SD Card is corrupted
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

kfrank

  • Newbie
  • *
  • Posts: 36
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #65 on: 13 April 2014, 07:38:11 pm »

Confusticated... any way I can rectify this situation?
I assume I could remove the internal sd and replace it with another card with a new image on it.
I have an 8gb card I can use. Any suggestions of what image to use?

Do I just need to "dd" one of the images to the new card and then install it into the Dreamplug or are there other steps?
« Last Edit: 13 April 2014, 08:23:38 pm by kfrank »
Logged

kfrank

  • Newbie
  • *
  • Posts: 36
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #66 on: 13 April 2014, 09:50:46 pm »

Thanks for all the help Confusticated, Ralph and Bigbear59!

I went ahead and copied the "Dream-Wheezy-344-4Gb-24Jul12.img" image to a new 8gb microSD card using "dd".
Replaced the internal SD with my new card and wouldn't you know, all booted up :)

I hope that was the correct image to use. Is there any updating you might recommend now? should I change/update mu uboot version? Should I/ can I update to a newer version of Debian more recent than Wheezy? Thank  you all for your patience and help :)  Love to hear any suggestions you might have.

Cheers,
Keith
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Dreamplug freezes after "Uncompressing Linux... done, booting kernel"
« Reply #67 on: 14 April 2014, 06:21:14 am »

Great news, and glad you were so persistent.
As to what image, it depends what you want to do.
I've been using Guiplug for a while, but that has been rather superseded by tablet developments. It took me ages to get that to work also.
By the way, have you tried your external SD again? That 'overlapping' image you had, although technically wrong, would probably work. I had one with the same problem and I corrected the partition table purely for tidiness.
Logged

linlust

  • Newbie
  • *
  • Posts: 1

Though not related directly to this thread i believe, it would be really useful if NewIT could also have a set of release notes with each of their kernel images. Also perhaps a set of next steps after a new kernel image has been extracted to an SD or internal microSD.

Sorry again for jumping in a different thread, just started on the forum and have no clue where to begin.

Cheers
Logged
Pages: 1 ... 3 4 [5]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!