pandaboard u-boot busted?

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

pandaboard u-boot busted?

Postby gdkags » Sat Mar 03, 2012 4:19 pm

Hi guys,
first time arm poster here.

Today I installed the distro for the pandaboard, but u-boot would show nothing over serial connection. And the board did not do anything, even after pressing the power switch on the board. the one on here seems to be busted.

I then tried the diagnostics boot from pandaboard.org and had no problem at all. I then left the first partition intact and reformated the second to have somewhat more space, extracted the rootfs and it worked.
Is there something that needs some fixin'? Or is this just me an this one?

I even tried this guide and the one on the platforms page. both have the same problem.

regards,
gdkags
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: pandaboard u-boot busted?

Postby kmihelich » Sat Mar 03, 2012 8:11 pm

When you build up your SD card, use the mkcard script provided to partition it. After you format it, make sure that MLO is the first file copied into it, then copy the rest in. When you don't see anything on serial, it just means that the board didn't like the setup of the SD card for whatever reason.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: pandaboard u-boot busted?

Postby gdkags » Sun Mar 04, 2012 1:35 pm

$this->bbcode_second_pass_quote('kmihelich', 'W')hen you build up your SD card, use the mkcard script provided to partition it. After you format it, make sure that MLO is the first file copied into it, then copy the rest in. When you don't see anything on serial, it just means that the board didn't like the setup of the SD card for whatever reason.


I used the script the times I tried before, I did this again, twice, step by step:
  • use mkcard.sh on sd card
  • mount sd card with pmount
  • copy MLO to sd card
  • unmount (just to be safe)
  • sync;sync, eject sd, put back in. (again, just to be safe)
  • mount second partition untar rootfs in there.
  • mount first partition again put u-boot.bin, boot.scr, uImage on it.
  • boot.scr was created like this
I just tried twice and it just won't work. I even zeroed out the whole card the second time, still did not work. Should I upload the first partition for debugging?
The same card worked with a different image what am I doing wrong?

edit: only putting the MLO file in there won't help either.
edit2: mkfs.vfat -F 16 and only MLO file, not working
edit3: wow, this makes me go wonky. i tried so many configurations now. some work, some won't. Some work then after reproducing it again it does not. I'm gonna stop now. For today :/
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: pandaboard u-boot busted?

Postby kmihelich » Sun Mar 04, 2012 6:22 pm

You can always just piggyback off of a setup that works, I had a lot of problems myself getting my first card set up. Get a setup that works on the card, then just swap out the uImage and boot.scr/uEnv.txt if needed.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: pandaboard u-boot busted?

Postby gdkags » Sun Mar 04, 2012 6:28 pm

Well, I believe that will be what I do. I guess the only way to debug this would be over JTAG?

Thank you for your support.
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: pandaboard u-boot busted?

Postby DeJe » Mon Mar 12, 2012 7:43 pm

I'm in the same boat.
I try to setup an SD-card for Arch ARM for several ways now and nothing works. I don't even get any output on the serial console.
On the same board, Oneiric Desktop, Server and the test environment from PandaBoard-site is working without problems. But for Arch, I have no idea anymore. Something is totally wrong with the instructions given...
At every power up the LEDs are always different, sometimes LED beside SD-Slot is on, sometimes both, sometimes the LED on the outside.

Could please someone provide a reliable way to at least boot into the serial console? :roll:
DeJe
 
Posts: 3
Joined: Mon Mar 12, 2012 7:30 pm

Re: pandaboard u-boot busted?

Postby kmihelich » Mon Mar 12, 2012 8:22 pm

Are you using the mkcard.txt script, and ensuring that MLO is the first file copied in after formatting?
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: pandaboard u-boot busted?

Postby DeJe » Tue Mar 13, 2012 8:56 am

Yes I did. I also did the manual way in partitioning and formatting the card.
DeJe
 
Posts: 3
Joined: Mon Mar 12, 2012 7:30 pm

Re: pandaboard u-boot busted?

Postby DeJe » Sat Mar 17, 2012 4:17 pm

At least I got Arch running on my PandaBoard (it's revision A4 btw.).
I used the validation image from the PandaBoard site, dd'ed it on the sd card, resized rootfs and copied arch-rootfs on it. After that I copied my boot.scr and uimage to the boot partition. This way it worked. So I assume there is something wrong with bootloader from here.

Anyway, I got up and running. :)
DeJe
 
Posts: 3
Joined: Mon Mar 12, 2012 7:30 pm

Re: pandaboard u-boot busted?

Postby ykmag » Fri May 25, 2012 2:43 pm

Thanks for the use validation image. That worked for me too, except for the modules. So if anyone knows where to obtain working modules for 3.0.4, please share that valuable knowledge.

Updated:
Solved it in a much better way: took uImage from the rootfs an put it into the first partition. worked.
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 4 guests