Author Topic: Running Zubuntu From Internal Memory  (Read 19891 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Zubuntu From Internal Memory
« Reply #15 on: January 08, 2009, 10:55:08 pm »
ppyo,
Let us know if you get this working. It appears that you at least get "Cacko" on the bootmenu if you can get to the blue splash screen.
Here's what I have on my SL-C3100:
I installed a fresh Cacko 1.23 full, and added some of meanie's packages to it.
Then I flashed Eviljazz's kernel, (kernel-fastfpe-cachedfb) which contains the new audio driver, latest tetsu kernel, and newer SD card driver for cards above 1GB.
Then I installed Angstrom opie to my hard drive, with kexec-tools. Using this page, I enabled Cacko to be kexec'ed from within Angstrom:
http://www.linuxtogo.org/gowiki/AngstromAndCacko
Then later, I installed zubuntu to an SD card and flashed the new multiboot kernel.
I have been trying to get Cacko to show up on this menu, but have had no luck.
I can boot Angstrom or zubuntu from the menu.

I read your post above, and decided to try the cmdline that you posted. It doesn't work on my C3100
When I look in /proc/cmdline, all I see is:
console=ttyS0 root=/dev/mtdblock2
This line is the same in /var/log/dmesg
I'm thinking the reason I don't have any numbers or the "other" strings in this line, is because I flashed Eviljazz's kernel to my Cacko.
Maybe, just the latest tetsu kernel would be better for this. I really need the (> 1GB SD driver)

Anyway, if I really want to boot Cacko, I can boot it through Angstrom.
If I ever get Cacko 1.23 to appear on the multiboot menu, I'm going to take a picture of it, since it seems very difficult to achieve...
« Last Edit: January 14, 2009, 11:49:35 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

ppyo

  • Newbie
  • *
  • Posts: 29
    • View Profile
Running Zubuntu From Internal Memory
« Reply #16 on: January 08, 2009, 11:12:48 pm »
Quote from: Jon_J
ppyo,
Let us know if you get this working. It appears that you at least get "Cacko" on the bootmenu if you can get to the blue splash screen.
Here's what I have on my SL-C3100:
I installed a fresh Cacko 1.23 full, and added some of meanie's packages to it.
Then I flashed Eviljazz's kernel, (kernel-fastfpe-cachedfb) which contains the new audio driver, latest tetsu kernel, and newer SD card driver for cards above 1GB.
Then I installed Angstrom opie to my hard drive, with kexec-tools. Using this page, I enabled Cacko to be kexec'ed from within Angstrom:
http://www.linuxtogo.org/gowiki/AngstromAndCacko
Then later, I installes zubuntu to an SD card and flashed the new multiboot kernel.
I have been trying to get Cacko to show up on this menu, but have had no luck.
I can boot Angstrom or zubuntu from the menu.

I read your post above, and decided to try the cmdline that you posted. It doesn't work on my C3100
When I look in /proc/cmdline, all I see is:
console=ttyS0 root=/dev/mtdblock2
This line is the same in /var/log/dmesg
I'm thinking the reason I don't have any numbers or the "other" strings in this line, is because I flashed Eviljazz's kernel to my Cacko.
Maybe, just the latest tetsu kernel would be better for this. I really need the (> 1GB SD driver)

Anyway, if I really want to boot Cacko, I can boot it through Angstrom.
If I ever get Cacko 1.23 to appear on the multiboot menu, I'm going to take a picture of it, since it seems very difficult to achieve...

Jon, I have the same kernel, but my Z is an Akita. There might be a difference between Akita and Borzoi re Cacko boot.
My setup:
2GB sd card, three ext2 partitions:
Zubuntu (1GB)
Cacko (450MB)
Pdaxrom (400MB)
I installed Zubuntu, then on the Cacko partition I created the boot directory containing Eviljazz' kernel, the kernel-cmdline in my previous post, and the .nfo file (a plain text file with the description of the distro for the boot menu). Nothing on the Pdaxrom partition yet.
My Akita still has Cacko 1.23 in NAND.
I flash Cortez' kernel & updater.
Zubuntu & Cacko show in the menu. Zubuntu runs perfectly, Cackto starts booting, gets to the blue splash screen, then nothing...
I will try with a fresh install of Cacko, and then I'll try to upgrade to Eviljazz' kernel.
I'll keep you guys posted.
Ppyo - Proudly a Linux user since 96
Eee PC 1000HA - Ubuntu 9.04
Zaurus C1000 - Zubuntu/Cacko 1.23
Palm Zire 72

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Running Zubuntu From Internal Memory
« Reply #17 on: January 09, 2009, 05:39:12 am »
@ppyo: So it is hereby confirmed that the Akita bootkernel shows a kernel image in NAND, am I correct?
@Jon_J: On my SL-C3100 the kernel image in NAND also shows up in the bootmenu. Since you report that in your case cacko (in NAND) isn't shown, I wonder if your using the latest kernel (MD5: 7bf1d0f9c119892cb4cfd4526a880f5e). Could you check that?

If someone could confirm this for C7x0 also, this would be great. I just want to make sure that the different kernels are now all working fine. I tend to lose track sometimes  

Cheers,
cortez
« Last Edit: January 09, 2009, 05:39:56 am by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Running Zubuntu From Internal Memory
« Reply #18 on: January 09, 2009, 08:18:40 am »
Regarding C3000 and dual booting Zubuntu and pdaXii13 - I have revert to my pdaxrom and extracted the cmdline from /proc/cmdline.
However, when I go back to using the zubuntu bootloader it still fails boot pdaxrom.
As I understand pdaxrom for the c3000 boots from NAND then mounts the microdrive and continues booting from there. I had hoped to simply skip the NAND bit and have the zubuntu loader boot straight from the microdrive - but I can't get any of these to successfully boot pdaxrom. Has anyone got a C3000 to dual boot with pdaxrom? Can anyone offer any further help or direction?

Thanks
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Zubuntu From Internal Memory
« Reply #19 on: January 09, 2009, 10:24:25 am »
Quote from: cortez
@ppyo: So it is hereby confirmed that the Akita bootkernel shows a kernel image in NAND, am I correct?
@Jon_J: On my SL-C3100 the kernel image in NAND also shows up in the bootmenu. Since you report that in your case cacko (in NAND) isn't shown, I wonder if your using the latest kernel (MD5: 7bf1d0f9c119892cb4cfd4526a880f5e). Could you check that?

If someone could confirm this for C7x0 also, this would be great. I just want to make sure that the different kernels are now all working fine. I tend to lose track sometimes  

Cheers,
cortez
Yes, the MD5 matches.

Edit:
Do you also have "usr.bin" in your /boot directory? I'm just curious if this is interfering.
Also, the "zImage" file that I'm using is from Eviljazz's kernel, not the original Cacko kernel.
(you'll notice the filesizes are different in these two kernels)
« Last Edit: January 09, 2009, 10:57:40 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

klaxon

  • Newbie
  • *
  • Posts: 21
    • View Profile
Running Zubuntu From Internal Memory
« Reply #20 on: January 09, 2009, 05:40:12 pm »
Quote from: cortez
If someone could confirm this for C7x0 also, this would be great. I just want to make sure that the different kernels are now all working fine. I tend to lose track sometimes  

No, It doesn't work on my C860. I can see Cacko in the bootmenu but it can't boot.
« Last Edit: January 09, 2009, 05:40:32 pm by klaxon »

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Running Zubuntu From Internal Memory
« Reply #21 on: January 09, 2009, 08:19:36 pm »
Quote from: cortez
@ppyo: So it is hereby confirmed that the Akita bootkernel shows a kernel image in NAND, am I correct?
@Jon_J: On my SL-C3100 the kernel image in NAND also shows up in the bootmenu. Since you report that in your case cacko (in NAND) isn't shown, I wonder if your using the latest kernel (MD5: 7bf1d0f9c119892cb4cfd4526a880f5e). Could you check that?

If someone could confirm this for C7x0 also, this would be great. I just want to make sure that the different kernels are now all working fine. I tend to lose track sometimes  

Cheers,
cortez

I tried to multiboot the Sharp ROM on my C860 both in NAND and on an SD card. In both setups, it shows up on the Omegamoon splash screen list and, when I choose it, I get the usual splash screen with "Sharp" and some japanese text, but then the boot fails with some init errors (reported elsewhere on this thread). Zubuntu boots fine BTW.

Cortez, I really appreciate your work and Zubuntu is quite likely the way forward, but it's not there yet. Multiboot is a wondeful idea and gives those of us who still need older ROMs a bridge. Please don't disregard this issue. Thanks.
« Last Edit: January 09, 2009, 08:21:10 pm by jfv »
SL 5000 D  and C860 Sharp ROM
Too many accessories...

felipe

  • Newbie
  • *
  • Posts: 1
    • View Profile
Running Zubuntu From Internal Memory
« Reply #22 on: January 11, 2009, 04:09:32 pm »
Hi,
I have a very similar question as the one from tanjian2. Until now no answers yet and perhaps I can join my voice to him on trying to find an answer to this: how do you use pdaxrom with kexecboot (multibooting kernel)? It would be nice if I can run it entirely from the microdrive (I have a Z sl c-3200). Sorry if this is a bit offtopic.
Regards,

Felipe.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3705
    • View Profile
Running Zubuntu From Internal Memory
« Reply #23 on: January 14, 2009, 05:38:45 pm »
could the reason for being unable to boot cacko be down to the OS being in two parts, a core squashfs install (only ever read-only, with files/dirs called xyz.rom) and then a cramfs part (read-write if remounted such), so that the multiboot kernel wotsit can't actually see cacko's file systems?

does this mean to get cacko to boot you'd want to boot it normally (i.e. flash a cacko-compatible kernel), then copy off it's file systems, add the kernel image and nfo file (as required by multiboot), repack into an ext2 of the right size to fit in the flash partition. then reflash the multiboot kernel. then copy the ext2 file system into flash?

I did once, BTW, ask about getting unionfs into sharp/cacko kernel so that the nasty symlinking from cramfs to squashfs could be avoided, I don't think it went anywhere?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

same

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Running Zubuntu From Internal Memory
« Reply #24 on: January 15, 2009, 06:39:21 am »
I was thinking in using the nand partition to store a /swapfile and not the OS.
Anyone tried it? or at least tested the nand speed with hdparm (if it's possible)?
pdaXii13 5.4.9 (HD) Ubuntu Jaunty 9.04 + 2.6.24.4-yonggun (cpufreq with dvfm) (SDHC) 3200

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3705
    • View Profile
Running Zubuntu From Internal Memory
« Reply #25 on: January 15, 2009, 07:08:37 am »
Quote from: same
I was thinking in using the nand partition to store a /swapfile and not the OS.
Anyone tried it? or at least tested the nand speed with hdparm (if it's possible)?

I'd DEFINITELY not use the internal flash for a swapfile - it's a raw flash device so there's NO wear levelling whatsover and you'll kill your internal flash and permanently brick your device. Use an SD card instead and if it dies, it's a US$10 item to replace.

Although onboard flash should be good for 1000's or even 10's of 1000's of erase/write, swap will use that up pretty quickly especially since it won't spread the writes. Flashing a new kernel, unless you did it every day for three years, won't hurt.

For onboard flash, you really need to be using a suitable file system!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

same

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Running Zubuntu From Internal Memory
« Reply #26 on: January 15, 2009, 07:42:26 am »
speculatrix: tx for your opinion, I expected that but needed confirmation as the need for more ram makes me think silly quiestions jeje
pdaXii13 5.4.9 (HD) Ubuntu Jaunty 9.04 + 2.6.24.4-yonggun (cpufreq with dvfm) (SDHC) 3200

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Zubuntu From Internal Memory
« Reply #27 on: January 15, 2009, 09:58:16 am »
speculatrix,
How is booting Cacko from the multiboot menu so different than the method using kexec-tools in Angstrom to boot Cacko?
I was going to try this method in zubuntu:
http://www.linuxtogo.org/gowiki/AngstromAndCacko
But kexec-tools in not available for zubuntu in the repositories.
Here's what I get when I try to install "kexec-tools" with "apt-get install"
Code: [Select]
Package kexec-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package kexec-tools has no installation candidate
« Last Edit: January 15, 2009, 10:06:54 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3705
    • View Profile
Running Zubuntu From Internal Memory
« Reply #28 on: January 15, 2009, 11:03:49 am »
Quote from: Jon_J
speculatrix,
How is booting Cacko from the multiboot menu so different than the method using kexec-tools in Angstrom to boot Cacko?

the multiboot kernel would need to have squashfs or cramfs installed. I'm a little hazy as I havent' run cacko in yonks;

although I have cacko in flash and zubuntu on microdrive, and have put the cacko kernel into /boot so I can kexec it to try and boot cacko, it segfaulted part way in, so the only way I can boot cacko is to flash its kernel. It's a matter of finding the time to have a decent play with it.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Running Zubuntu From Internal Memory
« Reply #29 on: January 15, 2009, 11:15:49 am »
Quote from: speculatrix
Quote from: Jon_J
speculatrix,
How is booting Cacko from the multiboot menu so different than the method using kexec-tools in Angstrom to boot Cacko?

the multiboot kernel would need to have squashfs or cramfs installed. I'm a little hazy as I havent' run cacko in yonks;

although I have cacko in flash and zubuntu on microdrive, and have put the cacko kernel into /boot so I can kexec it to try and boot cacko, it segfaulted part way in, so the only way I can boot cacko is to flash its kernel. It's a matter of finding the time to have a decent play with it.
Is this true for PdaXrom ? As I understood it Meanies pdaxrom for the C3000 boots of the Nand, mounts the microdrive and then runs up from the microdrive.
Seems simple to add this to the Zubuntu multi boot - I have a /boot directory and the requiste kernel and commandline - however, it just keeps spitting out errors about the file system when it boots.

Sorry for hijacking this thread - should I start another?
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD