Could not boot up from SD Card

Started by coo0659, January 01, 2013, 12:06:01 PM

Previous topic - Next topic

coo0659

I could not boot up the Debian Linux from SD Card.
Please advice me what should I do.
Error message are follows

Init eGon pin module V2.0
<6>Switching to clocksource aw 64bits couter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
<1>Unable to handle kernel paging request at virtual address dc000010
<1>pgd = c0004000
<1>[dc000010] *pgd=00000000
<0>Internal error: Oops: 5 [#1] PREEMPT
<d>Modules linked in:
CPU: 0    Not tainted  (3.0.52+ #1)
PC is at strcmp+0xc/0x3c
LR is at script_parser_fetch+0xf8/0x2e8
pc : [<c027e5c0>]    lr : [<c005000c>]    psr: 80000013
sp : d983beb8  ip : d983bec8  fp : d983bec4
r10: 00a00000  r9 : 0a0a2020  r8 : 00000001
r7 : c0759618  r6 : c0761e2c  r5 : dc000010  r4 : c06bb368
r3 : 000000df  r2 : 00000075  r1 : c06bb448  r0 : dc000010
~~~~~~~~~~~

It was success to proceed to Login, But After reinstall the system again
It was not boot up.    Please advice me.

Cure

If you do not shutdown properly, you can corrupt the SD card and will have to reimage it.

https://www.olimex.com/wiki/Prebuilt_SD_card_images_running_debian

mouha

Just to mention it: I have the same error strings with the brand new Olimex SD card....

coo0659

I gave up to built up the kernel.
May be .config file has trouble because error message show "CONFIG_USB_SW_SUN5I_USB0_OTG" .
This sentence is containing the .config file.
I try to change several setting items, but I could not fix boot up failure at all.
Finally I use the A13_debian_WIFI_GCC_GPIO_IN_OUT_AUTO_load_third_release.img.
Any one success to make uImage?  If so, please pass me good .config file.
Thank you.
:'(

yt7pwr

It's easy to build kernel. I build several different kernels so far without any problem. My main output is VGA because I do not have serial port UEXT adapter. Building and setting uBoot and kernel is not hardest problem but packing it into SD card. Simple dd command can work if you replicating to identical (not only by size but Track/Sectors as well). This command can work on 1.44MB 3.5" floppy because every floppy disk is identical but 4/8GB SD cards are very different. Try to copy Debian image and then open SD card with fdisk command. You can see warning message about file system inconsistency. Maybe this image will boot, maybe not. If image successfully boot and file system are repaired (mount now should work) then make your local copy of both SD card partition. Type inside mounted partition:
find ./ depth | cpio -oaV | gzip -c > /home/xxxxx/sdX1(or sdX2).cpio.gz
(xxxx is user home folder, sdX1 and sdX2 are your card names).
Also, do not forget u-boot.bin and sunxi-spl.bin for backup.
With this four files anyone can make bootable SD card with 100% success on identical Olinuxino board.
Next step could be experimenting with different rootfs (Linaro,OpenSuse....). Just download any ARM rootfs and copy/replace files to /dev/sdX2 partition and add your kernel modules to /dev/sdX2/lib/modules.
If you wish my kernel config file send email address to yt7pwr[et]open.telekom.rs

Cure

Quote from: coo0659 on January 04, 2013, 01:30:31 PM
I gave up to built up the kernel.
May be .config file has trouble because error message show "CONFIG_USB_SW_SUN5I_USB0_OTG" .
This sentence is containing the .config file.
I try to change several setting items, but I could not fix boot up failure at all.
Finally I use the A13_debian_WIFI_GCC_GPIO_IN_OUT_AUTO_load_third_release.img.
Any one success to make uImage?  If so, please pass me good .config file.
Thank you.
:'(

I wrote this a while back and it works perfectly:
https://www.olimex.com/forum/index.php?topic=518.0

coo0659

I found a cause of no boot up from SD card.
It was very easy and simple reason.

I got a script.bin file with wget command.
I made mistake to set URL location.
Contents of script.bin is not bin file but HTML words.
I lost a lot of time by very easy mistake.   Huuuum
Thanks folks.
:-[