OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: axeTail on February 06, 2009, 07:27:10 am

Title: Zubuntu And Cacko?how?
Post by: axeTail on February 06, 2009, 07:27:10 am
Hi how do I setup cack on a partitioned SD card? Zubuntu is running on the 1st partition.
Title: Zubuntu And Cacko?how?
Post by: thebaz67 on February 06, 2009, 09:14:22 am
This is how I configured my C3100.

I installed cacko normally to the NAND.

I installed the patch avail here to remove the need for the part hard drive partitions:

https://www.oesf.org/forum/index.php?s=&...st&p=176430 (https://www.oesf.org/forum/index.php?s=&showtopic=25565&view=findpost&p=176430)

Then I created a couple of partitions on an SD card, one to hold the Zubuntu OS and one to point to the install of cacko on the NAND.

All I did to get cacko working is in the /boot partition on the sd card was place the zImage file and the kerel-cmdline containing the text below

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q


what this does is load the zImage file from SD then loads the rest of cacko from the internal memory.
Title: Zubuntu And Cacko?how?
Post by: axeTail on February 09, 2009, 02:31:09 am
Thanks it worked. One more question. I have debian installed on the hard drive. What should the kernel-cmdline file contain to boot debian successfully? Thanks
Title: Zubuntu And Cacko?how?
Post by: Fatty on February 10, 2009, 10:39:07 am
Quote from: thebaz67
This is how I configured my C3100.
I installed cacko normally to the NAND.
I installed the patch avail here to remove the need for the part hard drive partitions:
https://www.oesf.org/forum/index.php?s=&...st&p=176430 (https://www.oesf.org/forum/index.php?s=&showtopic=25565&view=findpost&p=176430)
Then I created a couple of partitions on an SD card, one to hold the Zubuntu OS and one to point to the install of cacko on the NAND.
All I did to get cacko working is in the /boot partition on the sd card was place the zImage file and the kerel-cmdline containing the text below
console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q
what this does is load the zImage file from SD then loads the rest of cacko from the internal memory.

Tks. It works for me also. I can now multiboot Zubuntu/Andromeda Debian/Android 0.9/Angstrom and finally, Cacko! Ha Ha  

In case anyone need, here is the kernel I used:
https://www.oesf.org/forum/index.php?showto...st&p=178674 (https://www.oesf.org/forum/index.php?showtopic=25983&view=findpost&p=178674)


Quote from: axeTail
Thanks it worked. One more question. I have debian installed on the hard drive. What should the kernel-cmdline file contain to boot debian successfully? Thanks

I just copy the one from Zubuntu and Debian boots just fine.
Title: Zubuntu And Cacko?how?
Post by: Moad-Dib on April 06, 2009, 03:35:09 am
Hello, i've a 3100 i've done the same manipulation :
Quote
This is how I configured my C3100.

I installed cacko normally to the NAND.

I installed the patch avail here to remove the need for the part hard drive partitions:

https://www.oesf.org/forum/index.php?s=&...st&p=176430 (https://www.oesf.org/forum/index.php?s=&amp...st&p=176430)

Then I created a couple of partitions on an SD card, one to hold the Zubuntu OS and one to point to the install of cacko on the NAND.

All I did to get cacko working is in the /boot partition on the sd card was place the zImage file and the kerel-cmdline containing the text below

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q

what this does is load the zImage file from SD then loads the rest of cacko from the internal memory.

What does mean " and one to point to the install of cacko on the NAND. " ?
Because i've only create on the SD card 2 partitions, one with Zubuntu and one empty named cacko with etx3 as filesystem.

thanks.
Title: Zubuntu And Cacko?how?
Post by: Fatty on April 06, 2009, 01:20:51 pm
Quote from: Moad-Dib
Hello, i've a 3100 i've done the same manipulation :

What does mean " and one to point to the install of cacko on the NAND. " ?
Because i've only create on the SD card 2 partitions, one with Zubuntu and one empty named cacko with etx3 as filesystem.

thanks.

The 'real' cacko system is indeed on NAND. We only need a small partition on SD/CF to hold the cacko/sharp kernel, distro description and boot parameters (which tell the boot loader to boot the 'real' cacko on NAND).
Title: Zubuntu And Cacko?how?
Post by: agosine on April 06, 2009, 09:21:50 pm
Can anyone tell me how these lines would change for a C1000?  I would like to run Cacko off the main memory and try other OSs off my SD card.

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q

The help is appreciated.
Title: Zubuntu And Cacko?how?
Post by: Moad-Dib on April 07, 2009, 02:37:32 am
Quote
The 'real' cacko system is indeed on NAND. We only need a small partition on SD/CF to hold the cacko/sharp kernel, distro description and boot parameters (which tell the boot loader to boot the 'real' cacko on NAND).

Thanks Fatty,
What do i insert in the cacko's partition on SD/CF ?

Thank you.
Title: Zubuntu And Cacko?how?
Post by: Fatty on April 07, 2009, 08:39:17 pm
Quote from: agosine
Can anyone tell me how these lines would change for a C1000?  I would like to run Cacko off the main memory and try other OSs off my SD card.

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q

The help is appreciated.

Same. It works for both of my C1000 (booting Sharp ROM) & C3100 (booting Cacko).
Title: Zubuntu And Cacko?how?
Post by: Fatty on April 07, 2009, 08:51:34 pm
Quote from: Moad-Dib
Quote
The 'real' cacko system is indeed on NAND. We only need a small partition on SD/CF to hold the cacko/sharp kernel, distro description and boot parameters (which tell the boot loader to boot the 'real' cacko on NAND).

Thanks Fatty,
What do i insert in the cacko's partition on SD/CF ?

Thank you.

Three files.

image.nfo (text file containing only a name of the distro)
zImage (kernel image. Take a look at post #4)
kernel-cmdline (kernel boot parameter. The heart of this entire thread!)

Don't forget to do the patch mentioned in post #2.
Title: Zubuntu And Cacko?how?
Post by: Moad-Dib on April 09, 2009, 02:56:20 am
Thanks Fatty,

it works

but i don't have anymore the /hdd3 partition with fat 32 file system on my cacko.

Bye
Title: Zubuntu And Cacko?how?
Post by: Moad-Dib on April 09, 2009, 05:25:38 am
Quote from: Moad-Dib
Thanks Fatty,

it works

but i don't have anymore the /hdd3 partition with fat 32 file system on my cacko.

Bye
Sorry,

i still got it ; i've done a " mount -a ".

Thank again
Title: Zubuntu And Cacko?how?
Post by: agosine on April 09, 2009, 03:44:42 pm
Hi Fatty.  Thank you for the quick reply.  I will be trying this over the weekend.
Title: Zubuntu And Cacko?how?
Post by: adf on April 10, 2009, 03:25:11 am
I'm having the stuck on the blue "loading cacko and qtopia screen. Any suggestions? D&M nand utils of some kind reflash cacko? I'd like to get this going, mostly for eviljazz's audio updates.

Zubuntu (jaunty) is running great, though.
Title: Zubuntu And Cacko?how?
Post by: mjiba on April 10, 2009, 11:57:14 am
Don't know which Cacko kernal you are using (in Cacko partition of SD), but I was not able to get past the "loading Cacko..." screen using eviljazz's kernals.  

I was able to load Qtopia using the kernal link above (post # 4 by Fatty).  
Although it let me boot into Cacko, I then had the problem of never being able to fully suspend in Cacko (my screen would go blank but backlight remained on).  I posted not too long ago to see if anyone else experienced this, but I seem to be the only one.  Perhapes you will have more success!

good luck!
Title: Zubuntu And Cacko?how?
Post by: adf on April 12, 2009, 08:50:00 pm
Quote from: thebaz67
This is how I configured my C3100.

I installed cacko normally to the NAND.

I installed the patch avail here to remove the need for the part hard drive partitions:

https://www.oesf.org/forum/index.php?s=&...st&p=176430 (https://www.oesf.org/forum/index.php?s=&showtopic=25565&view=findpost&p=176430)

Then I created a couple of partitions on an SD card, one to hold the Zubuntu OS and one to point to the install of cacko on the NAND.

All I did to get cacko working is in the /boot partition on the sd card was place the zImage file and the kerel-cmdline containing the text below

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q


what this does is load the zImage file from SD then loads the rest of cacko from the internal memory.
 Ok..I'm missing something. All I can manage following these directions is to hanf on the cacko blue loading screen. I bet I entered the kernel_cmdline wrong.  What should it look like in the text editor?

Also, did you resize the cacko root partition to 32 as the cacko directions call for?
Title: Zubuntu And Cacko?how?
Post by: mjiba on April 12, 2009, 11:06:24 pm
When you boot Cacko the first time, before flashing the Zubuntu-kexec kernal, you can use:

cat /proc/cmdline > [location of kernal-cmdline file on SD]

to have the correct cmdline info on your SD partition.  It may be different depending on your Z model.  

Hope this helps...
Title: Zubuntu And Cacko?how?
Post by: adf on April 20, 2009, 11:17:55 pm
Quote from: mjiba
When you boot Cacko the first time, before flashing the Zubuntu-kexec kernal, you can use:

cat /proc/cmdline > [location of kernal-cmdline file on SD]

to have the correct cmdline info on your SD partition.  It may be different depending on your Z model.  

Hope this helps...


I had to reflash and install evil jazz's kernel and modules before I did cat /proc/cmdline, etc.. but it worked great.

Now I just have to get sound in zubuntu and make cacko use my ambicom wifi
Title: Zubuntu And Cacko?how?
Post by: mjiba on April 21, 2009, 05:54:57 pm
Just out of curiosity, which Cacko kernal did you wind up using?  I could not get eviljazz's kernel to work with this, no matter what I tried.  
Glad you got it working though.
Title: Zubuntu And Cacko?how?
Post by: adf on April 21, 2009, 11:40:54 pm
Quote from: mjiba
Just out of curiosity, which Cacko kernal did you wind up using?  I could not get eviljazz's kernel to work with this, no matter what I tried.  
Glad you got it working though.
I did a restore form trisoft's image, flashed cacko..had issues for a bit. what I ended up doing was flashing cacko, doing the no hd patch (which I suspect of having side effects) installing eviljazz's fastfpe cahchedfb kernel AND the modules, catting the cmdline over to the /boot/kernel_cmd and adding the same eviljazz zImage to the /boot dir. It seems to work, but I am having wifi issues..sadly now I am having them on both cacko and zubuntu because I installed connman and can no longer get dhc to work, but that is a story for another thread, and I can use the cacko boot to install a new zubuntu image if necessary