CuBox Development Platform

Linux, Android based tiny, energy efficient development machine
It is currently Thu Jun 20, 2013 12:43 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun Apr 15, 2012 10:14 am 
Offline

Joined: Sun Apr 15, 2012 10:07 am
Posts: 21
Location: Germany
Hello,

I followed the instructions in the wiki for installing Debian/Wheezy. After the reboot i get the message "Bad partition 1" and "Can not read from device 0". The root partition is formatted with ext3.

how can I run Debian?

regards


Top
 Profile  
 
PostPosted: Sun Apr 15, 2012 12:54 pm 
Offline

Joined: Thu Dec 15, 2011 11:05 am
Posts: 207
Location: Castellbisbal (Spain)
Have you copied the boot.scr and uImage files in your SD /boot directory?. Also, you maybe need to addapt the boot.scr to boot your partition. Before doing it, first try the boot script "by hand". I mean, execute this commands from the boot prompt:

Code:
setenv bootargs 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p1 video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0'
echo ======== Loading kernel ========
ext2load mmc 0:1 0x00200000 /boot/uImage
echo ======== Booting kernel ========
bootm


Take in account that your sd partitions could be slightly different, for instance, the command ext2load mmc 0:1 0x00200000 /boot/uImage could be ext2load mmc 0:0 0x00200000 /boot/uImage.

I have attached my boot files, in case you need them.


Attachments:
bootCubox.zip [3.34 MiB]
Downloaded 84 times

_________________
Proud user of a Cubox
Top
 Profile  
 
PostPosted: Mon Apr 16, 2012 7:05 pm 
Offline

Joined: Sun Apr 15, 2012 10:07 am
Posts: 21
Location: Germany
it works, thanks

However, it is not debian 7.0 but debian 6 ...


Top
 Profile  
 
PostPosted: Mon Apr 16, 2012 7:24 pm 
Offline

Joined: Thu Dec 15, 2011 11:05 am
Posts: 207
Location: Castellbisbal (Spain)
astrapi wrote:
it works, thanks

However, it is not debian 7.0 but debian 6 ...


You didn't mentioned which version of debian you needed!. It's the Squeeze (6). I do not know if Debian 7 is available. I'm glad you got it working.

PacoLM

_________________
Proud user of a Cubox


Top
 Profile  
 
PostPosted: Mon Apr 16, 2012 7:28 pm 
Offline

Joined: Sun Apr 15, 2012 10:07 am
Posts: 21
Location: Germany
the wiki describes Debian/Wheezy = Debian 7


Top
 Profile  
 
PostPosted: Sat Jun 02, 2012 3:58 pm 
Offline

Joined: Sat Apr 07, 2012 11:24 am
Posts: 7
Hi!
I have a problem after installing Debian Squeeze on my CuBox. I used the wiki description (also copied the boot.scr and uImage files) and Debian is starting up, but failing this way:
Quote:
[ 39.660740] List of all partitions:
[ 39.664240] b300 7879680 mmcblk0 driver: mmcblk
[ 39.669454] b301 194560 mmcblk0p1
[ 39.673739] b302 1 mmcblk0p2
[ 39.678007] b305 371712 mmcblk0p5
[ 39.682275] b306 7310336 mmcblk0p6
[ 39.686549] No filesystem could mount root, tried: ext3 ext2 ext4 cramfs squashfs vfat msdos iso9660 ntfs fuseblk udf
[ 39.697310] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Any ideas what could have gone wrong? Both my partitions are ext3.


Top
 Profile  
 
PostPosted: Sat Jun 02, 2012 4:24 pm 
Offline

Joined: Mon Apr 16, 2012 4:27 pm
Posts: 23
Location: Russia
@rollin_rob:
It looks like your rootfs is on /dev/mmcblk0p6, not /dev/mmcblk0p2. Try adjusting root parameter in boot.scr source and recompiling it


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 9:25 am 
Offline

Joined: Sat Apr 07, 2012 11:24 am
Posts: 7
Ok, I adjusted the root parameter 'root=/dev/mmcblk0p2' to 'root=/dev/mmcblk0p6', but how do I recompile it? After rebooting with this new boot.scr I got some crc error :(


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 9:59 am 
Offline

Joined: Tue Dec 13, 2011 8:56 pm
Posts: 352
http://www.solid-run.com/mw/index.php/Setup_SD_boot


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 10:38 am 
Offline

Joined: Sat Apr 07, 2012 11:24 am
Posts: 7
Thank you very much, it's working now!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group