dragoip / 0xdroid

Automatically exported from code.google.com/p/0xdroid
0 stars 0 forks source link

Install to SD-card failed #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

I have a problem installing 0xdroid to my SD card. I'm using a Beagleboard 
C4 and 2GB SD card. I do not want to install to the nand memory.

1. I download the prebuild image beagle-eclair-0x4.zip
2. create 2 partitions on my SD card. 500MB fat16 and the rest ext3
3. Extract all files to the fat16 partition
4. edit the install.conf and uncomment the line to install to SD-card
5. rename uimage.bin to uimage (my rev c4 would not load uimage.bin)
6. put sd-card in breagleboard and boot.
7. installer runs and is reading the kernel and android.ubi
8. installer starts to copy kernel image => OK
9. installer starts to copy root filesystem => error
10. installer exits with the following lines: "unable to mount ubifs" and 
then "exit" appears and it seems to be stuck there. I waited several 
minutes.

Anyone have an Idea on how to correctly to install to the SD card? On 
issue 60 was a link to the wiki about the sd installtion, but this seems 
to be erased.

Thanks for the help.

Best regards,
Wouter

Original issue reported on code.google.com by Wou...@gmail.com on 29 Apr 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Hi Woutch,

  Maybe you can try to follow these steps below:

    1. Edit install.conf, uncomment the U_BOOT_IMAGE line. 
    2. Edit install.conf, uncomment the INSTALL_TO_SD = y line.
    3. Plug the SD card in Devkit8000 SD slot and restart it. 
         1) Enter the u-boot prompt, use the following command the chainload the new 
bootloader:
          > mmcinit 
          > fatload mmc 0 80300000 flash-uboot.bin 
          > go 80300000
         2) Then use the new bootloader to load installer 
          > boot

Hopefully this can fix ur problem. For more detailed information, please refer 
to:
   http://code.google.com/p/0xdroid/wiki/UsingPreBuiltImages

Br,
Michael

Original comment by michael.leo.wang2010 on 30 Apr 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Hello,

Thanks for the input, but I am using a beagleboard. But I will try to update 
the uboot 
to the latest version available. I will let you know how it helps.

Best regards,
Wouter

Original comment by Wou...@gmail.com on 30 Apr 2010 at 7:33

GoogleCodeExporter commented 9 years ago
kanru, please track this issue.

Original comment by jserv.tw@gmail.com on 1 May 2010 at 5:04

GoogleCodeExporter commented 9 years ago
Hello again,

I flashed my beagleboard with the latest uboot from the angstrom demo images. I 
still get the ubifs error. Below are the latest lines from the installer:
Press [Enter] to activate shell
Welcome to 0xdroid Image Installer

Mounting SD card...
Copying files..
        * 0xkernel.bin
        * android.ubi
Preparing SD card...
Validating partition table...
Cannot mount system partition, force create one!
Total size: 244 MiB
Create partition mmcblk0p1: 134 MiB
Create partition mmcblk0p2: 100 MiB
Reformat SD card...
Restore backuped data
:: SD card :: Done!
Install kernel...
:: Kernel :: Done!
Copying system files...
Failed to mount ubifs
Exit..

This time i tried a different sdcard (256MB).

Best regards,
Wouter

Original comment by Wou...@gmail.com on 8 May 2010 at 3:34

GoogleCodeExporter commented 9 years ago
get flash-uboot.bin from uboot and copy to boot partition

Original comment by quadri...@gmail.com on 12 May 2010 at 7:06

GoogleCodeExporter commented 9 years ago
Hi,

Copied the file and uncommented the line in install.conf.

But nothing changed. Still the same error on my beagleboard rev C4.

Best regards,
Woutch

Original comment by Wou...@gmail.com on 13 May 2010 at 7:25

GoogleCodeExporter commented 9 years ago

Original comment by ckanru on 17 May 2010 at 1:32

GoogleCodeExporter commented 9 years ago
I have downloaded the latest installer from the dailybuild. But still the same 
error. Is there something that I can try to help?

Press [Enter] to activate shell
Welcome to 0xdroid Image Installer

Mounting SD card...
Copying files..
        * 0xkernel.bin
        * android.ubi
Preparing SD card...
Validating partition table...
:: SD card :: Done!
Install kernel...
:: Kernel :: Done!
Copying system files...
Failed to mount ubifs
Exit..

Thanks and best regards,
Woutch

Original comment by Wou...@gmail.com on 3 Jun 2010 at 9:38

GoogleCodeExporter commented 9 years ago

Original comment by ckanru on 17 Jun 2010 at 11:13

GoogleCodeExporter commented 9 years ago
i can copy the rootfs(not ubifs) to mmcblk0p2,and can run the system
and not use the installer script,use beagleboard sd boot

Original comment by lukefen...@gmail.com on 23 Jun 2010 at 6:53

GoogleCodeExporter commented 9 years ago
Yep, this is aimed to simplify the deploy process.

If build from scratch then copy the rootfs to sdcard should be easier.

Original comment by ckanru on 23 Jun 2010 at 6:59

GoogleCodeExporter commented 9 years ago
Is there a way to get the rootfs from the site? I searched but could only find 
ubi files. But I cannot find an easy way how to extract them on google.

Original comment by Wou...@gmail.com on 23 Jun 2010 at 7:16

GoogleCodeExporter commented 9 years ago
@Woutch:

To extract ubi files you have to use nandsim to emulate a nand device.

Could you try the attached installer image and post detailed output?

Thanks!

Original comment by ckanru on 23 Jun 2010 at 7:59

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello again,

You can find the debug output here: http://pastebin.com/w8jXjSWG

Best regards,
Woutch

Original comment by Wou...@gmail.com on 23 Jun 2010 at 7:01

GoogleCodeExporter commented 9 years ago
I'd like to close this first.

Please open new issue if have any problem with new dailybuild image.

http://downloads.0xlab.org/dailybuild/installer/

Original comment by ckanru on 22 Jul 2010 at 7:21

GoogleCodeExporter commented 9 years ago
was this issue resolved? I'm still getting this error message.

I updated the bootloader and used the dailybuild installer but nothing changed.

Original comment by imccha...@gmail.com on 30 Aug 2010 at 3:12