Author Topic: Strange Problem With U-boot  (Read 3114 times)

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« on: December 29, 2006, 05:46:21 pm »
Hi!

I´m trying to install pdaXrom in my C3200, emergency system goes UP and afert doesn´t start the install of pdaXrom automatically.

I have made this steps:

Quote
You need install new uBOOT for SL-Cxx00
- Remove battery
- Put SD with uBOOT install files
- Hold C+D and plug power
- Wait green and yellow lights turn off and remove power and SD/card

- Put a SD card with new pdaXrom install files
- Now Hold (OK) and plug power, wait about +/-20 seconds, the emergency system goes UP

-----------------till here all OK, after not tell my any question and not init the install---------------------------------------
- On question say "y" (YES)
- Now wait for install

- After finish, remove power, put battery
- Hold Power Buttom for 20 seconds +/- and pdaXrom goes start

How do I start the install manually?, i'm trying execute autoboot.sh, where is it?, at /mnt/card nothing appear, i have put install files at the SD (autoboot.sh, kernel.img, rootfs.img).

At \dev directory  what is the SD Card?, the mmcda is missing.

with mount command i can see that SD card not appear.

The SD card is working correctly because the Z read the files of u-boot and init the emergency system, the problem is where it must start pdaXrom install.

thanks in advance for your help  
« Last Edit: December 29, 2006, 05:51:17 pm by jalismak »

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Strange Problem With U-boot
« Reply #1 on: December 29, 2006, 06:06:40 pm »
You should have all this stuff on a fat formatted SD:
autoboot.sh  
emergenc.img  
kernel.img  
rootfs.img  
u-boot.bin  
updater.pro  
updater.sh

If the u-boot installation went fine (and I guess it did if you get the question whether you want to install or emerg system) you should leave the SD in while rebooting and the autoboot.sh script should get executed automatically.

If not it's a clear text script (not coded like updater.sh) ... have a look at it and try manually.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« Reply #2 on: December 29, 2006, 06:20:00 pm »
thanks louigi600.

I have tried with all files at the same time(autoboot.sh, emergenc.img, kernel.img, rootfs.img, u-boot.bin, updater.pro, updater.sh).

The problem is where rebooting that the script not start automatically. I think that the sd is not mounted correctly, is it possible?

The u-boot runs perfectly without problems, goes up and after shows me the console, i have search on dev for mmcda and i don´t find it, at mnt/card nothing appears of the files that i have stored at SD.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Strange Problem With U-boot
« Reply #3 on: December 29, 2006, 06:33:58 pm »
The device that you should get mounted is /dev/mmcblk0p1 under /mnt/card
If it does not get mounted automatically can you mount it manually ?
mount -t vfat /dev/mmcblk0p1 /mnt/card
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« Reply #4 on: December 29, 2006, 06:52:18 pm »
rock!

Thx again louigi600 , the SD card now is mounted, the command with mmcblk0p1 didn't work and i have tried with this and it works me:

mount /dev/mmcblk0 /mnt/card (without p1)

now i can see the files at SD card, only need to know what is the command for init the install

How launch the autoboot.sh???

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« Reply #5 on: December 29, 2006, 06:53:58 pm »
Ok :-)

with ./autoboot.sh

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« Reply #6 on: December 29, 2006, 07:08:50 pm »
more problems :-S

when I typed ./autoboot.sh the install start but it says me

no kernel
no roots image
restarting..

The files are in the SD but it doesn´t see???

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Strange Problem With U-boot
« Reply #7 on: December 29, 2006, 07:20:12 pm »
Ok try manually:
Once mounted cd to SD (and supposing sizes and locations are the same for your zaurus (here is an example for the c760 file sizes and locations)

cd /mnt/card
nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 kernel.img
flash_eraseall /dev/mtd2
nandwrite /dev/mtd2 rootfs.img

before executing this have a look at the script to see if sizes and locations ar the same.

Good luck
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

prrthd

  • Newbie
  • *
  • Posts: 4
    • View Profile
Strange Problem With U-boot
« Reply #8 on: December 29, 2006, 07:20:22 pm »
I have been fighting this all day. Same exact problem. Finally got it working, CF card didn't work, 1G SD card didn't work, freshly formatted 2G SD worked just fine.

So you might want to re-format your card and try again.

Jay

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Strange Problem With U-boot
« Reply #9 on: December 29, 2006, 09:04:32 pm »
do this...

sh autoboot.sh ./
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

jalismak

  • Newbie
  • *
  • Posts: 21
    • View Profile
Strange Problem With U-boot
« Reply #10 on: December 30, 2006, 05:24:03 am »
thanks alls.

Finally I have pdaXrom working  

I change the SD card an re-formated it many times and finally the Z mounted it automatically and the install start.