BeagleBoard mojo installation fail

Hi, folks,

I’ve tried several times to install the mojo according to the instructions at http://elinux.org/BeagleBoardHandheldsMojo but failed.
I tried the 'Debian Installer QEMU" section. During my installation, I did not have any problem up to the basic package installation. When the installation script asked me what application packages I wanted to install, I selected only the ‘ubuntu desktop’ (like the attached ‘Mojo_Installation-ScreenShot1.jpg’) to minimize the installation time in the qemu. But after some minutes, I got an error message like the attached ‘Mojo_Installation_ScreenShot2.jpg’. Both the ‘hasty-armv5el’ and ‘hasty-armv6el-vfp’ versions cases were same.

FYI, I’m running ubuntu 8.10 on an Intel Core2 Duo system and updated my qemu to the latest version(apt-get install qemu) before I tried those.

Is there anybody out there experiencing same or similar things like this? I really like to play with BB + mojo…

Regards,

ILKYOUNG.

Mojo_Installation_ScreenShot1.jpg

Mojo_Installation_ScreenShot2.jpg

-on a cell- dont select the ubuntu-desktop option. mojo is a direct
port of ubuntus and thus that meta package has dependices that will
never build on arm. starting with a base install add xorg gdm xfce4

Robert,

So, after the basic package installation, I have to unsellect (actually, skip) the additional application software package installation step. Am I right?

Regards,

ILKYOUNG

2008/11/30 Robert Nelson <robertcnelson@gmail.com>

Yeah, just leave the default options selected.. Then after you are
done, install applications as you need them from apt-get.

Someday, a 'mojo-desktop' might exist, using xorg, gdm, xfce4, etc...

Robert,

I did what you said and it worked. :slight_smile: Thank you.

BTW, I have one comment and one question.

Comment : I think you’d better add a comment explicitly not to select the ‘ubuntu desktop’ package at the stage I was confused just in case there would be others like me. Am I the only one got confused? :slight_smile:

Question : After completing the installation, I hooked up DVI monitor and USB keyboard to my Beagle and got the login prompt subsequently. However when I executed the last instruction(sudo dpkg -i linux-image* ) in the howto, I got two responding messages that something like ‘the symbolic links are not valid so it is deleting them’. When I reboot the Beagle after that, I don’t get the DVI output anymore while I still see I/O error messages through the serial port. It seems that the Beagle is not generating output signal to the DVI port(The monitor signal indicator LED is orange while it usually is green in normal state.).
Do I have to start the installation from the beginning? Or, is there anything I can do(like script or configuration fix) by mounting the SD card to a linux machine?

This is very interesting and I like this because I get learning more on the debian/ubuntu system in depth which I hardly understood. :slight_smile:

Thank you in advance.

Best regards,

ILKYOUNG

2008/11/30 Robert Nelson <robertcnelson@gmail.com>

Let me follow up some updates by myself.

  1. DVI monitor problem (Solved)
    I figured out that this was caused by my mistake.
    I enabled the serial console and watched the system booting sequence. I could get the login prompt correctly through the ttyS2. After some more careful review, I found out that I did not actually turned on the external usb hub power supply. What a SILLY man I AM!!! :frowning:
    After I fed enough power, I could use the DVI monitor and usb keyboard correctly.
    So, according to this symptom, an overload (in terms of power) at the OTG port limits DVI port output. Am I right?

  2. Wireless LAN module problem (New One)
    I was to use an IPTIME G054U2 USB wireless LAN card for my Beagle because 1) it is pretty hard to find an usb LAN card in Seoul, Korea(and expensive, too), 2) wireless LAN products are very easy to get and cheap here. This card uses RT2500 chipset and just works fine with my ubuntu 8.10 machine.

  1. I connected the USB WLAN module to my Beagle and confirmed that the kernel recognizes it correctly.
  2. With the ‘iwconfig’ command, I confirmed ‘wlan0’ interface is active with its essid field not assigned.
  3. I set my AP’s SSID with ‘iwconfig wlan0 essid XXXXXX’
  4. Then, I tried to activate the interface with ‘ifconfig wlan0 up’ but failed.

What I got was
phy0 → rt2x00lib_request_firmware: Error - Fail to request Firmware
SIOCSIFFLAGS: No such file or directory

Is there anybody having any clue on this?

Best regards,

ILKYOUNG

2008/11/30 ILKYOUNG KWOUN <hl1oap@gmail.com>

Further updates.

  1. Wireless LAN module problem (Solved)
    I did some googling and found a post that I should put firmware files in ‘/lib/firmware/’(http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-10/msg02347.html). I don’t know why but I copied ‘rt*.bin’ files in my ubuntu 8.10 machine to the ‘/lib/firmware’ of Beagle root filesystem. That was it and I could get my wireless connection.

  2. Xorg problem (New One)
    I installed the rest of packages in the instruction and did ‘startx’ just to find it not working. :frowning:
    I attached my Xorg log file. Please, somebody help me.

This is part of my ‘Sunday Development Project’. I hope I did not abuse the bandwidth but leave some record to hlep others experiencing similar problems as I am having.

Best regards,

ILKYOUNG

2008/11/30 ILKYOUNG KWOUN <hl1oap@gmail.com>

Xorg.0.log (6.83 KB)

Hi Ilkyoung,

(finally got home) Your very close now, verify your xorg.conf has this
driver loaded..

Section "Device"
  Identifier "Configured Video Device"
  Option "UseFBDev" "true"
  Driver "fbdev"
EndSection

Robert,

Yes, I checked my xorg.conf file and found that the 'Driver “fbdev” line was missing.
I added it and now have my Beagle working with X!!! Thank you so much! :slight_smile:

BTW, here arise another questions.

  1. Did I miss something during the installation step or do wrong out of the instruction? Do you have any clue why the line is missing?

  2. I would like to install the gcc at first. When I typed ‘gcc’, the system asked me to ‘apt-get install pentium-builder’. Is the package ‘pentium-builder’ correct? I guess it is not… :slight_smile:

  3. During the boot, I still get the following error messages.

    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) readonly.
    Freeing init memory: 180K
    end_request: I/O error, dev mtdblock0, sector 0
    Buffer I/O error on device mtdblock0, logical block 0
    end_request: I/O error, dev mtdblock0, sector 8
    Buffer I/O error on device mtdblock0, logical block 1
    end_request: I/O error, dev mtdblock0, sector 16
    Buffer I/O error on device mtdblock0, logical block 2
    end_request: I/O error, dev mtdblock0, sector 24
    Buffer I/O error on device mtdblock0, logical block 3
    end_request: I/O error, dev mtdblock0, sector 0
    Buffer I/O error on device mtdblock0, logical block 0
    fuse init (API version 7.9)
    EXT3 FS on mmcblk0p5, internal journal

    How do I fix this?

I’m so glad to have X run on my Beagle. I do appreciate your help, Robert.

Best regards,

Ilkyoung.

2008/12/1 Robert Nelson <robertcnelson@gmail.com>

Robert,

Yes, I checked my xorg.conf file and found that the 'Driver "fbdev" line
was missing.
I added it and now have my Beagle working with X!!! Thank you so much! :slight_smile:

BTW, here arise another questions.

1. Did I miss something during the installation step or do wrong out of the
instruction? Do you have any clue why the line is missing?

Looking at both wiki's i had forgotten to add the xorg section on the
Mojo-Handhelds wiki, but had it listed on the debian wiki. Both
wiki's should be really reviewed by someone new to
linux/debian/mojo-handhelds.

For reference i'm trying to keep both wiki's like this:

Install guides:
Native
Qemu
Other
Environment (Notes)
Xorg
Serial Console
etc

2. I would like to install the gcc at first. When I typed 'gcc', the system
asked me to 'apt-get install pentium-builder'. Is the package
'pentium-builder' correct? I guess it is not... :slight_smile:

Now that's very strange (reference to pentium-builder)... try apt-get
install gcc (and build-essential)

3. During the boot, I still get the following error messages.
    ....
    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) readonly.
    Freeing init memory: 180K
    end_request: I/O error, dev mtdblock0, sector 0
    Buffer I/O error on device mtdblock0, logical block 0
    end_request: I/O error, dev mtdblock0, sector 8
    Buffer I/O error on device mtdblock0, logical block 1
    end_request: I/O error, dev mtdblock0, sector 16
    Buffer I/O error on device mtdblock0, logical block 2
    end_request: I/O error, dev mtdblock0, sector 24
    Buffer I/O error on device mtdblock0, logical block 3
    end_request: I/O error, dev mtdblock0, sector 0
    Buffer I/O error on device mtdblock0, logical block 0
    fuse init (API version 7.9)
    EXT3 FS on mmcblk0p5, internal journal
    ....
    How do I fix this?

mtdblock0 is just the 256Mb of NAND flash, you can ignore that error
message. There are ways to get rid of that and load it as an actual
drive, but i haven't looked into doing that.

Regards,