Author Topic: Debian And Uboot  (Read 80082 times)

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian And Uboot
« Reply #120 on: April 29, 2007, 11:24:27 pm »
An experimental system that at leasts risks a noticeable degree of unnecessary frustration in extricating one's self from it is probably a bad idea--agreed.  I tried u-boot once, had some problems recovering ( I got better) and haven't touched it again.  If it led to some really optimized stable system with options for reasonable upgrades, I'd be more interested.  
As is, I agree- if it isn't necessary (and from here it looks like it isn't) maybe it should be dropped?  Importing altboot might be nice, though.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #121 on: April 30, 2007, 03:23:45 am »
Quote
grab one from http://www.angstrom-distribution.org/unsta.../c7x0/20070429/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160084\"][{POST_SNAPBACK}][/a][/div]

Many thanks! Will go try it on 860 after setting up OpenBSD on 3200.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #122 on: April 30, 2007, 11:00:01 am »
Quote
grab one from http://www.angstrom-distribution.org/unsta.../c7x0/20070429/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160084\"][{POST_SNAPBACK}][/a][/div]

I have downloaded the new zImage. But how should i name the tarball rootfs on SD? Is it still hdimage1.tgz or something else? Thanks again.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Debian And Uboot
« Reply #123 on: April 30, 2007, 12:44:05 pm »
Quote
Quote
grab one from http://www.angstrom-distribution.org/unsta.../c7x0/20070429/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160084\"][{POST_SNAPBACK}][/a][/div]

I have downloaded the new zImage. But how should i name the tarball rootfs on SD? Is it still hdimage1.tgz or something else? Thanks again.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160121\"][{POST_SNAPBACK}][/a][/div]

extract it manually using a cardreader
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #124 on: May 01, 2007, 07:31:10 am »
After extracting the debian eabi system subdirs (without the root armel dir) to an SD, I installed the new zImage.bin (zImage-2.6.20-c7x0-sdboot.bin) together with updater.sh with this SD.
Reboot and got this after setting the system clock:
Code: [Select]
VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0)
Tried on both FAT and ext3 formatted cards. Same result.
Thanks.
« Last Edit: May 01, 2007, 07:32:14 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
Debian And Uboot
« Reply #125 on: May 01, 2007, 08:35:50 am »
Quote
Code: [Select]
VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0)
Tried on both FAT and ext3 formatted cards. Same result.
Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160186\"][{POST_SNAPBACK}][/a][/div]

When you formatted the SD card as ext3, did you make a partition first?  I.e. does /dev/mmcblk0p1 exist (in pdaXrom for example), or only /dev/mmcblk0?  And what does fdisk /dev/mmcblk0 say when you select "p" to print the partition table?  On my SD card it has one partition, Id = 83, System = Linux.

Dan
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #126 on: May 01, 2007, 08:39:41 am »
Quote
Quote
Code: [Select]
VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0)
Tried on both FAT and ext3 formatted cards. Same result.
Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160186\"][{POST_SNAPBACK}][/a][/div]

When you formatted the SD card as ext3, did you make a partition first?  I.e. does /dev/mmcblk0p1 exist (in pdaXrom for example), or only /dev/mmcblk0?  And what does fdisk /dev/mmcblk0 say when you select "p" to print the partition table?  On my SD card it has one partition, Id = 83, System = Linux.

Dan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160191\"][{POST_SNAPBACK}][/a][/div]

Thanks. First i fdisk /dev/mmcblk0 with type 83, then mkfs.ext3 /dev/mmcblk0p1.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #127 on: May 01, 2007, 11:25:49 am »
Just took a short break and had a look at my 860 again for a few minutes.  
This time i reflashed the sdboot zImage (20070429) and the updater.sh (20070422) from CF, and left the debian system with the extracted modules-2.6.20.6-c7x0.tgz (20070429) on SD. Reboot. Both SD and CF were mounted, and I got this:
Code: [Select]
VFS: Mounted root (vfat filesystem) readonly.
Freeing init memory: 80k
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
But there is init under /sbin in the debian rootfs on SD.
So what now?  
« Last Edit: May 01, 2007, 11:29:08 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Debian And Uboot
« Reply #128 on: May 01, 2007, 11:59:13 am »
Quote
Just took a short break and had a look at my 860 again for a few minutes. 
This time i reflashed the sdboot zImage (20070429) and the updater.sh (20070422) from CF, and left the debian system with the extracted modules-2.6.20.6-c7x0.tgz (20070429) on SD. Reboot. Both SD and CF were mounted, and I got this:
Code: [Select]
VFS: Mounted root (vfat filesystem) readonly.
Freeing init memory: 80k
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
But there is init under /sbin in the debian rootfs on SD.
So what now? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160197\"][{POST_SNAPBACK}][/a][/div]

The first clue is 'vfat', that's unsuited for a linux system. You (also) lack a /dev/console node, which is probably caused by vfat not being able to represent devnodes.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #129 on: May 01, 2007, 12:09:03 pm »
Quote
The first clue is 'vfat', that's unsuited for a linux system. You (also) lack a /dev/console node, which is probably caused by vfat not being able to represent devnodes.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160202\"][{POST_SNAPBACK}][/a][/div]

Thanks. There is a /dev/console in the extracted system. Will make a ext3 card and try again later.
« Last Edit: May 01, 2007, 12:09:31 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #130 on: May 02, 2007, 05:45:59 am »
Quote
Quote
2. Problem with 4G SD. Suspend/resume destroy FS. It's happen only with SD>2G
any fixes on this? does this only happen on a 4g partition or all 4g cards?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160068\"][{POST_SNAPBACK}][/a][/div]
Only on second part of 4G SD.
First 2G partition works correct.
"mkfs.ext3 -j" hang on second 2G partition.
If I create it on cardreader it also destroy fs after some times or hang PDA.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #131 on: May 02, 2007, 06:04:34 am »
svs57:

Are you using firefox/iceweasel with your debian?

If so, did you build it yourself? I can't find armel firefox package anywhere. I've built firefox for Angstrom in OE, but it segfaults...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #132 on: May 02, 2007, 06:18:55 am »
Quote
svs57:

Are you using firefox/iceweasel with your debian?

If so, did you build it yourself? I can't find armel firefox package anywhere. I've built firefox for Angstrom in OE, but it segfaults...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160247\"][{POST_SNAPBACK}][/a][/div]

Doesn't firefox from debian-arm work ?

Can anyone put a rootfs with X included online somewhere or send it through dropload or alike ?

Thanks a million.
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #133 on: May 02, 2007, 07:17:17 am »
Quote
svs57:

Are you using firefox/iceweasel with your debian?

If so, did you build it yourself? I can't find armel firefox package anywhere. I've built firefox for Angstrom in OE, but it segfaults...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160247\"][{POST_SNAPBACK}][/a][/div]
I also tried Angrstorm's firefox with the same result.
Building firefox from sources failed: shlibsign segfault.
It is also problem for me. I use dillo while havn't firefox.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #134 on: May 02, 2007, 09:35:25 am »
Quote
Doesn't firefox from debian-arm work ?
Not within armel.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze