Upgrade X-loader and U-boot (Problem)

Hi,

I own a BeagleBoard C3
I'm trying to upgrade my X-Loader and U-Boot.

I have created my SD card like this :

bzr branch lp:~beagleboard-kernel/+junk/omap-flasher
cd omap-flasher
./mk_mmc.sh --mmc /dev/sdX

Once it's done I have 4 files on the SD :

boot.scr
MLOImage
u-boot.bin
x-load.bin.ift

Then I power on the BB while pushing the "User" button.
but it doesn't boot.

Unknow command 'mmcinit'

so I type : mmc init ; boot

then I have an error message : Unable to read "uImage" from mmc 0:1

of course there is no uImage on the MMC...

I followed the "Upgrade X-loader and U-boot" on the Linux Ubuntu
Tutorial here : http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot

So what's wrong ? do I need the uImage to flash the BB ?

Thanks for your help.

Hi,

I own a BeagleBoard C3
I'm trying to upgrade my X-Loader and U-Boot.

I have created my SD card like this :

bzr branch lp:~beagleboard-kernel/+junk/omap-flasher
cd omap-flasher
./mk_mmc.sh --mmc /dev/sdX

Once it's done I have 4 files on the SD :

boot.scr
MLOImage
u-boot.bin
x-load.bin.ift

Then I power on the BB while pushing the "User" button.
but it doesn't boot.

Unknow command 'mmcinit'

Crap i was trying to make it more compatible for older boards, i guess
the script dies on the first command... I'll revert the change..

so I type : mmc init ; boot

then I have an error message : Unable to read "uImage" from mmc 0:1

of course there is no uImage on the MMC...

I followed the "Upgrade X-loader and U-boot" on the Linux Ubuntu
Tutorial here : BeagleBoardUbuntu - eLinux.org

So what's wrong ? do I need the uImage to flash the BB ?

No just run it manually.. I've updated the directions here:

http://elinux.org/BeagleBoardUbuntu#Manual_Run

It's exactly the same as how it is done in Angstrom (same versions)

http://www.angstrom-distribution.org/demo/beagleboard/

The updated X-loader/Uboot is needed for the mpurate value setting the
clock speed and expansion board detection (zippy1/zippy2)

Regards,

Hi Robert

I succeed to boot on ubuntu and login.
so there's no X11 installed ?

How can I config my MA111 USB wireless adapter?
I guess I need the kernel source + headers in order to compil the
driver?

Regards

Hi Robert

I succeed to boot on ubuntu and login.
so there's no X11 installed ?

Good to hear!

That's correct, i had to pull the xfce4 based image by to many error
reports on problems logining..

You can install X11 with a useful windows manager with: sudo apt-get
install xfce4 gdm xubuntu-gdm-theme

How can I config my MA111 USB wireless adapter?
I guess I need the kernel source + headers in order to compil the
driver?

It should be already enabled..

Give: "sudo ifconfig -a" "sudo iwconfig essid 'id'" "sudo dhclient
wlanX" a try...

Regards,

Hi Robert,

1/I have installed ubuntu + gui (lubuntu-desktop)
While I was using the command line, I didn't succeed to connect to the
WIFI with WPA Encryption, so I have disabled the encryption to install
X11.
Even once on the desktop I don't have the WPA available. the wpa-
supplicant package is installed.
So Maybe the MA111 can't use the WPA encryption ?

2/ When I power on the beagleboard, it doesn't boot automaticaly on
the MMC.

It stays stuck on :
OMAP3530-GP ES3.0, CPU-0PP2, L3-165MHz, Max clock-600Mhz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
If I want to boot on it, I have to push User then power on (or User +
Reset)
(I don't have upgraded Xloader & u-boot yet)

3/ When I try to updrage xloader & u-boot manualy,
I type : mmc init
mmc1 is available
fatload mmc 0:1 0x80200000 x-load.bin.ift
unknown command 'fatload' - try 'help'

but if I type only fatload, the command is recognized.

Thanks for your help

Hi Michael,

Hi Robert,

1/I have installed ubuntu + gui (lubuntu-desktop)
While I was using the command line, I didn't succeed to connect to the
WIFI with WPA Encryption, so I have disabled the encryption to install
X11.
Even once on the desktop I don't have the WPA available. the wpa-
supplicant package is installed.
So Maybe the MA111 can't use the WPA encryption ?

Strange, I'm not sure, some devices don't have all wifi features yet,
or maybe we are missing a config somewhere for MA111...

2/ When I power on the beagleboard, it doesn't boot automaticaly on
the MMC.

It stays stuck on :
OMAP3530-GP ES3.0, CPU-0PP2, L3-165MHz, Max clock-600Mhz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
If I want to boot on it, I have to push User then power on (or User +
Reset)
(I don't have upgraded Xloader & u-boot yet)

Yeap, that's what happens when the X-loader is 1.4.2 or less with
U-Boot 2010-03..

3/ When I try to updrage xloader & u-boot manualy,
I type : mmc init
mmc1 is available
fatload mmc 0:1 0x80200000 x-load.bin.ift
unknown command 'fatload' - try 'help'

but if I type only fatload, the command is recognized.

That is weird.. what version of U-Boot is on there?.. I'll run some
tests with that version...

I've reverted the change to omap-flasher

Give it a try with another SD card (so you don't loose any work) and
hold down the reset button will starting it..

https://code.launchpad.net/~beagleboard-kernel/+junk/omap-flasher

Regards,

Hi

My u-boot version is (when I reboot the SD and start the BB):

U-boot 2009.01-dirty (feb 19 2009 - 12:22:31)
X-loader 1.4.2 (feb 19 2009 - 12:01:24)

I have redowloaded the omap flash and executed the script on the SD.
Then I put the SD on the BB, I hold reset and power the BB, nothing
happen. It's stuck.
If I power while holding User then I have the countdown and when it
try to boot it can't find uImage.

:-/

Hi Robert,

I have done a little video of what's happening (3,6Mb).
http://dl.dropbox.com/u/1566495/BeagleBoard/BeagleBoot.mp4

1/ I boot without the SD
2/ I boot the SD created by the script. (I hold Reset, power, release
the Reset button)
3/ I boot the SD created by the script. (I hold User, power, release
the User button)

I guess with a video it's better for you to understand what I'm
doing...
BTW why mysubscription is always 'pending' ?
Regards

Hi Robert,

I have done a little video of what's happening (3,6Mb).
http://dl.dropbox.com/u/1566495/BeagleBoard/BeagleBoot.mp4

1/ I boot without the SD
2/ I boot the SD created by the script. (I hold Reset, power, release
the Reset button)
3/ I boot the SD created by the script. (I hold User, power, release
the User button)

Thanks for the video.. Something looks odd, what does U-boot (with no
sd card) return for printenv, I'm thinking you'll need to reset the
nand environment with:

nand erase 260000 20000
reset

I guess with a video it's better for you to understand what I'm
doing...
BTW why mysubscription is always 'pending' ?

Not sure, people get approved usually pretty quick.. CC'ing directly
to help speed up the issue..

Regards,

Hi Robert,

Today I have started the Beagleboard without SD, and there was nothing
odd.
Anyway, I did erase the nand and then according to Beagleboard
beginners I changed my
bootargs and bootcmd like that :

# setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
rootwait'
# setenv bootcmd 'mmc init;fatload mmc 0 80300000 uImage;bootm
80300000'

Then I put back the SD to upgrade the Xloader U-boot.
I push 'user' then I power the BB, I wait for the U-boot, then release
the 'user' button.
I have the countdown and...

The result is the same as my part3 in the video.... :-/

Regards

Hi Robert,

Finaly I have succeeded to upgrade my xloader/u-boot manualy using the
Angstrom dist.
Then I have checked again your auto-upgrade script (just to know) .
And finally it's working now.

Regards