Debian: what wiki should I follow?

Hello,

I want to install debian on my old B6 bb.
I’m wondering what document I need to follow. I found this:

http://elinux.org/BeagleBoardDebian

but I don’t understand if I must prepare the sd card as stated here:

http://elinux.org/BeagleBoardBeginners#SD_card_setup

Thanks
Marco

After some mumbling I ended up it should be enough to launch the mk_mmc.sh script that creates the boot partition.
The script ended successfully but insert the card into the bb leads to show the beagleboard splash screen only and nothing else.

I have same issue. There is a bug ticket opened about that.
Can you try to hold USER button prior pressing RESET?
Also can you send us output of serial terminal so w can confirm same issue?

Regards
Predrag

The serial output at power-on is:

Texas Instruments X-Loader 1.41
Starting OS Bootloader…

U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle Board + LPDDR/NAND
DRAM: 128 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Audio Tone on Speakers … complete
Hit any key to stop autoboot: 0

Holding user button while pressing reset doesn’t change anything.

Sorry, the previous message was incomplete:

after autoboot the terminal shows:

reading uImage

** unable to read “uImage” from mmc 0:1 **
Wrong image format for bootm command
ERROR: can’t get kernel image
OMAP3 beagleboard.org #

while pressing the user button leads to some error messages about I2C and unricognized expansion board. And then:

Unknown command ‘mmcinit’ - try ‘help’
MMC: block number 0x1 exceeds max(0x0)
** Can’t read from device 0 **

the the previous error message about kernel.

mk_mmc.sh should do all for you.
But, make sure you delete all partitions from mmc card using any partitioning tool. mk_mmc require clear card.
Also, make sure you specified correct device of mmc card.
When mk_mmc is executed successfully your card will contain only one small partition labeled BOOT.

HI,

Wlan is not working on beagleboard-xm rev B.
Can anybody please send me the steps of implementing WLAN (Wifi) support on beagle-xm board. I have " belkin F7D1101 v1 " usb wifi dongle. Please help me…
Thanks in advance.

Thanks & Regards
~Manish Goel
|

Marco Trapanese wrote:

The serial output at power-on is:

    Texas Instruments X-Loader 1.41
    Starting OS Bootloader...

    U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)

2008?

U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)

2008?

Yes, I confirm: 2008.

Where’s the problem?

U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)

2008?

Yes, I confirm: 2008.

Where’s the problem?

Quite old. Boot scripts may assume a newer version and try ‘mmc init’ instead of ‘mmcinit’:

Yes, it’s exactly what I did. It creates a small partition of about 70 MB. I tried with two different SD cards and the behavior is the same.

Hm… 2008 is maybe too old but holding USER button should use one from teh card.
Did you tried cleaning bb card contacts?

Hi Marco,

Unfortunally my Debian "Netinstall" is broken for older Bx/Cx devices
(not including the c4 which is really weird..) I'm still testing
different things, so I don't have a good answer yet..

First: on nand based devices, any of the demo images/scripts need the
latest BootFiles. Please follow:

http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot
(it's the same for ubuntu/debian/fedora)..

Since: http://elinux.org/BeagleBoardDebian#Debian_NetInstall is
currently broken for your B6..

You can either use the new "sid armhf":
http://elinux.org/BeagleBoardDebian#Debian_armhf_port
(it's bleeding edge and fast or)

http://elinux.org/BeagleBoardUbuntu#Demo_Image

Regards,

Hm… 2008 is maybe too old but holding USER button should use one from teh card.

Is there a way to update? Or do I need to buy a new bb?

Did you tried cleaning bb card contacts?

I’ve just done it. No changes.

Robert,

thank you for your answer.
In order to decide what it’s the best choice for me I’d like to ask you (all) few questions:

  • will the script work with the latest rev of the board, won’t it? I’m talking about the bb and bb-xM
  • I’m going to use debian because I know it quite well and I need to run Qt4 applications. They will use openvc (with v4l drivers) for grabbing image from easycap video grabber. Do you recommend any other distro working with my old bb to achieve the same goal? I will cross-compile from my ubuntu laptop.

Thanks again

First: on nand based devices, any of the demo images/scripts need the
latest BootFiles. Please follow:

http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot
(it’s the same for ubuntu/debian/fedora)…

No way. It can’t read from mmc, The errors are the same.
Perhaps my bb is broken…

Robert,

thank you for your answer.
In order to decide what it's the best choice for me I'd like to ask you
(all) few questions:

- will the script work with the latest rev of the board, won't it? I'm
talking about the bb and bb-xM

Yeap, the script works fine with the latest Beagle xM's, BeagleBone,
and the Panda.. (those 3 devices i test the script with pretty
regularly, my older beagle bx doesn't get much time out of a
static-free bag anymore..)

- I'm going to use debian because I know it quite well and I need to run Qt4
applications. They will use openvc (with v4l drivers) for grabbing image
from easycap video grabber. Do you recommend any other distro working with
my old bb to achieve the same goal? I will cross-compile from my ubuntu
laptop.

If you know debian well, for stabilty right now, i'd stick with the
"Ubuntu Oneiric" image:
BeagleBoardUbuntu - eLinux.org as it's userspace is
currently compiled for armv7-a softfp, which will give you a nice
speed bump over Debian's Squeeze's current "armv4-t" settings..

When Ubuntu Precise/Debian Wheezy hit stable, they'll both give you a
nice speed bump with armv-7a hardfp settings..

Regards,

Can you pastebin your serial log? I just flashed an older Beagle B5
with it earlier this week..

Regards,

Here the serial log during the x-loader upgrade:

Here the serial log during the x-loader upgrade:

Texas Instruments X-Loader 1.5.1 (Nov 17 2011 - 16:07:28)
Beagle Rev Ax/Bx
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2011.09-dirty (Nov 07 2011 - 10:39:26)

OMAP3530-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
MMC: OMAP SD/MMC: 0

In: serial
Out: serial
Err: serial
Beagle Rev Ax/Bx
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Unrecognized expansion board: 0
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Unrecognized expansion board: 0
Die ID #6020000200000000040316e80502201c
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 2 1 0
Unknown command 'mmcinit' - try 'help'
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **

Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 beagleboard.org #

On really old devices, we allways stored the boot settings in nand,
which just happens to be overriding the new "uEnv.txt" based boot
settings that'll flash the nand.

What i'd do: follow the last "Worst Case Note" here:
http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot

you can type it right at:

Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 beagleboard.org #

Then holding the user button, just either type reset or push the reset
button.. With the internal nand cleared out no old boot settings will
step on the "uEnv.txt" boot script..

Regards,