Author Topic: Can Boot Zubuntu From Sd But Not From Cf Card  (Read 7254 times)

drautzbug

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« on: April 14, 2009, 03:20:31 pm »
I followed cortez instruction to install zubuntu on a SD card and that worked okay (with the problem solutions from this forum). Then I got myself a 16 GB CF card and copied the rootfs there. But my Zaurus C760 won't boot from there. It goes

Code: [Select]
Probing /dev/mtdblock0
Probing /dev/mtdblock1
Probing /dev/mtdblock2
found  /dev/mtdblock2 (jffs2)
mount successful
 /dev/mtdblock2 no kernel found, unmounting
Probing /dev/mtdblock3
Probing /dev/mmcblk0
Probing /dev/mmcblk0p1
found  /dev/mmcblk0p1 (vfat)
mount successful
 /dev/mmcblk0p1 no kernel found, unmounting
No bootable device found
I assume the mmcblk message come from the SD card from which I flashed the kexec kernel, which was still in the device. But I would have expected that it probes /dev/hda1 /dev/hda2 and so forth. I have the feeling it does not even look at the CF card. Could it be that the kernel at http://www.zaurus.org.uk/cortez/ubuntu/dow...c7x0/zImage.bin simply does not expect CF cards?

The CF card itself seems okay. If I boot zubuntu from the SD card I can mount the CF card partitions (/dev/hda1 ...) no problem.
I also checked the md5 sums on zImage.bin and flashed it another time. Same result.
« Last Edit: April 14, 2009, 04:04:19 pm by drautzbug »

drautzbug

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #1 on: April 15, 2009, 06:20:47 am »
I believe the kexec kernel provided by omegamoon simply does not look at CF cards. I now flashed zImage-kexecboot-2.6.26-r12-c7x0.bin from Angström and it does find zubuntu on the CF card and starts to boot it   . But then it stops with something like "waiting for root /dev/hda1"  .

I assume this is because some module is not yet loaded at this stage. I will try to locate the module and put it into /etc/modules.

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #2 on: December 22, 2009, 03:39:13 am »
Quote from: drautzbug
I believe the kexec kernel provided by omegamoon simply does not look at CF cards. I now flashed zImage-kexecboot-2.6.26-r12-c7x0.bin from Angström and it does find zubuntu on the CF card and starts to boot it   . But then it stops with something like "waiting for root /dev/hda1"  .

I assume this is because some module is not yet loaded at this stage. I will try to locate the module and put it into /etc/modules.

Has this issue been resolved?  I would like to multiboot from a cf card.  In other words:

   1)  Has the kexec kernel provided by omegamoon been revised to recognize CF cards?
or
   2)  Does the Angström image get past "waiting for root /dev/hda1" with Zubuntu?

Thanks.
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

drautzbug

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #3 on: February 08, 2010, 12:54:31 pm »
Picked up the trail recently. Still same problem, cannot even boot with zImage-kexecboot-2.6.26-r12-c7x0.bin at all. I wonder if I need a custom updater.sh.

Has anybody had any luck using kexecboot on a C760 with the rootfs on a CF card. Mine in 16MB, maybe that's a problem.

ant

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #4 on: February 12, 2010, 01:24:24 pm »
>Has anybody had any luck using kexecboot on a C760 with the rootfs on a CF card. Mine in 16MB, maybe that's a problem.

Try this 2.6.26 kernel   http://projects.linuxtogo.org/projects/zaurus/
(The 2.6.33-rc6 have still some minor issues)

Ant

afxi

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #5 on: April 30, 2010, 06:00:30 pm »
I tried it with both 2.6.26 and the newest one, 2.6.34-rc4 from http://projects.linuxtogo.org/frs/?group_id=55 .
It didn't worked for me (4GB CF-Card), but my SD-Card (2GB) worked without any problems.
Then I put my SD into a SD to CF Converter and the result was this "Waiting for root device dev/hda1..."
Any solution?

duo

  • Newbie
  • *
  • Posts: 39
    • View Profile
Can Boot Zubuntu From Sd But Not From Cf Card
« Reply #6 on: May 01, 2010, 03:36:25 am »
I know that zubuntu doesn't load the pxa2xx_cs driver at start, thus no love from the cf slot. Perhaps if you could get the cf driver to load sooner, it might work.
« Last Edit: May 01, 2010, 09:07:58 pm by duo »