Native (non qemu) install for Hasty-armv5el (and eventually debian)

10 views
Skip to first unread message

Robert Nelson

unread,
Nov 11, 2008, 5:33:40 PM11/11/08
to Beagle Board, moya...@gmail.com
So I finally got the debian-installer image to load (part way) on the
beagleboard.

But I'm running into what i hope is just a trivial problem of failing
to include the omapfb modules into the image. (Basically the omapfb
fails to load, and will restart continuously.) Since I won't be able
to hack on this tonight, I thought i'd let the community enjoy it a
day or two early.

.config i used for building:
http://rcn-ee.homeip.net:81/dl/beagle/oer2/di-defconfig

Notes are here: (ALPHA-TEST Debian Installer Native (hasty-armv5el ->
dist-upgrade (hasty-armv6el/etc)) ALPHA-TEST)
http://elinux.org/BeagleBoardHandheldsMojo

PS, The build box is also working on Koen's latest uImage, which may
solve the problem, it'll be uploaded here when done:
http://www.rcn-ee.com/deb/debian-installer/

Regards

--
Robert Nelson
FAE-Digikey

Robert Nelson

unread,
Nov 11, 2008, 6:22:51 PM11/11/08
to Beagle Board
On Tue, Nov 11, 2008 at 4:33 PM, Robert Nelson <robert...@gmail.com> wrote:
> So I finally got the debian-installer image to load (part way) on the
> beagleboard.
>
> But I'm running into what i hope is just a trivial problem of failing
> to include the omapfb modules into the image. (Basically the omapfb
> fails to load, and will restart continuously.) Since I won't be able
> to hack on this tonight, I thought i'd let the community enjoy it a
> day or two early.
>

talk about strange switch to console F2/F3 and type mount -a..


--
Robert Nelson
http://www.rcn-ee.com/

Robert Nelson

unread,
Nov 11, 2008, 6:24:42 PM11/11/08
to Beagle Board
On Tue, Nov 11, 2008 at 5:22 PM, Robert Nelson <robert...@gmail.com> wrote:
>
> talk about strange switch to console F2/F3 and type mount -a..
>

laughs, keyboard in console F1 controls frame buffer in F2/F3 when you
do this... ;)

Robert Nelson

unread,
Nov 11, 2008, 6:34:17 PM11/11/08
to Beagle Board
On Tue, Nov 11, 2008 at 5:24 PM, Robert Nelson <robert...@gmail.com> wrote:
> On Tue, Nov 11, 2008 at 5:22 PM, Robert Nelson <robert...@gmail.com> wrote:
>>
>> talk about strange switch to console F2/F3 and type mount -a..
>>
>
> laughs, keyboard in console F1 controls frame buffer in F2/F3 when you
> do this... ;)
>

This fails at "No partitionable media" the mmc card is mounted, it
just doesn't detect /dev/mmcblk0 as a valid partition.

Sean D'Epagnier

unread,
Nov 11, 2008, 11:46:50 PM11/11/08
to beagl...@googlegroups.com
Are you expecting to be able to use the ncurses installer over serial
console to install debian?

I have had problems using qemu, it is so slow that it takes many
hours, and eventually crashes before the install completes.

I tried these instructions:
http://elinux.org/BeagleBoardHandheldsMojo

I end up booting the system, but I get lots of errors like:
uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0

Eventually the system resets and never boots.

I appreciate any support

Sean

On Tue, Nov 11, 2008 at 3:33 PM, Robert Nelson <robert...@gmail.com> wrote:
>
> So I finally got the debian-installer image to load (part way) on the
> beagleboard.
>
> But I'm running into what i hope is just a trivial problem of failing
> to include the omapfb modules into the image. (Basically the omapfb
> fails to load, and will restart continuously.) Since I won't be able
> to hack on this tonight, I thought i'd let the community enjoy it a
> day or two early.
>
> .config i used for building:
> http://rcn-ee.homeip.net:81/dl/beagle/oer2/di-defconfig
>

> Notes are here: (ALPHA-TEST Debian sInstaller Native (hasty-armv5el ->

Robert Nelson

unread,
Nov 12, 2008, 12:56:16 AM11/12/08
to beagl...@googlegroups.com
On Tue, Nov 11, 2008 at 10:46 PM, Sean D'Epagnier
<geckos...@gmail.com> wrote:
>
> Are you expecting to be able to use the ncurses installer over serial
> console to install debian?

Nope, I'm not.... Only LCD/DVI+USB(keyboard/mouse/ethernet) setups,
serial will only show boot/debug/dmesg... ;)

>
> I have had problems using qemu, it is so slow that it takes many
> hours, and eventually crashes before the install completes.

What version? What distro? What arch?

In most cases other then ubuntu 8.10 i've had the best luck
recompiling qemu from svn trunk.. (8.10's default version actually
seems to work, 8.04's (x64/386) failed, debian lenny's failed (haven't
tested updated version that hit the repo's last week)) Otherwise one
of my main goals with the both the debian and mojo ports is to move
away from qemu.. It was a great first step, but now that other things
are working upstream, it's time to move on.. (Plus it installs way
faster! ;) Well until it couldn't find the /dev/mmcblk partitions...
should have that fixed sometime this week.)

> I tried these instructions:
> http://elinux.org/BeagleBoardHandheldsMojo
>
> I end up booting the system, but I get lots of errors like:
> uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0

Normal, those are the nand blocks, debian/mojo doesn't know what to do
with them. (Could add an fstab entry to ignore them)

The other issue, it takes 3-4 reboots for extfsck to 'fix' the ext3
partition. This is other reason my goal is to get away from qemu
since the date does not get correctly passed to the install, so as you
create the disk the time stamp of each file is messed up. Next on
first boot with real hardware, the beagleboard does not have the
correct time, see's the ext3 with another odd time and thinks the disk
is corrupt. After 3-4 reboots the ext3 partition should be 'fixed',
just make sure your bootargs in uboot had the 'ro' option, so that
debian/mojo will fix the partition. (angstrom needs 'rw' i believe)..

BTW, This is really hard/impossible to debug, unless you have the
LCD/DVI plugged in, I've seen people just sit and wait for a serial
response they will never get, only to turn on the lcd to see a login
prompt waiting the whole time...

>
> Eventually the system resets and never boots.

Reset halts beagle board. That's a known bug(for me, first saw it in
august), I've never looked on the wiki for it, but i've seen the issue
on my original B4 board, along with the two B5's i have now. Just
remove power and reapply.

>
> I appreciate any support
>
> Sean
>

--
Robert Nelson
http://www.rcn-ee.com/

Sean D'Epagnier

unread,
Nov 12, 2008, 1:17:21 AM11/12/08
to beagl...@googlegroups.com
On Tue, Nov 11, 2008 at 10:56 PM, Robert Nelson <robert...@gmail.com> wrote:
>
> On Tue, Nov 11, 2008 at 10:46 PM, Sean D'Epagnier
> <geckos...@gmail.com> wrote:
>>
>> Are you expecting to be able to use the ncurses installer over serial
>> console to install debian?
>
> Nope, I'm not.... Only LCD/DVI+USB(keyboard/mouse/ethernet) setups,
> serial will only show boot/debug/dmesg... ;)
>

Ok, unfortunately I don't have a working monitor at the moment. I'm
getting an LCD soon.

>>
>> I have had problems using qemu, it is so slow that it takes many
>> hours, and eventually crashes before the install completes.
>
> What version? What distro? What arch?
>

ubuntu x86, not sure what version.

> In most cases other then ubuntu 8.10 i've had the best luck
> recompiling qemu from svn trunk.. (8.10's default version actually
> seems to work, 8.04's (x64/386) failed, debian lenny's failed (haven't
> tested updated version that hit the repo's last week)) Otherwise one
> of my main goals with the both the debian and mojo ports is to move
> away from qemu.. It was a great first step, but now that other things
> are working upstream, it's time to move on.. (Plus it installs way
> faster! ;) Well until it couldn't find the /dev/mmcblk partitions...
> should have that fixed sometime this week.)
>

I will try compiling qemu from svn.

I was going to look through the installer scripts to make it aware of
/dev/mmcblk. Otherwise, maybe you can use a symlink to something it
can detect, but I haven't gotten this far.

>> I tried these instructions:
>> http://elinux.org/BeagleBoardHandheldsMojo
>>
>> I end up booting the system, but I get lots of errors like:
>> uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
>
> Normal, those are the nand blocks, debian/mojo doesn't know what to do
> with them. (Could add an fstab entry to ignore them)

Ok, that is good to know.

>
> The other issue, it takes 3-4 reboots for extfsck to 'fix' the ext3
> partition. This is other reason my goal is to get away from qemu
> since the date does not get correctly passed to the install, so as you
> create the disk the time stamp of each file is messed up. Next on
> first boot with real hardware, the beagleboard does not have the
> correct time, see's the ext3 with another odd time and thinks the disk
> is corrupt. After 3-4 reboots the ext3 partition should be 'fixed',
> just make sure your bootargs in uboot had the 'ro' option, so that
> debian/mojo will fix the partition. (angstrom needs 'rw' i believe)..
>

I ran fsck after I killed qemu but before I booted in the beagle, I
think it fixed the filesystem then.

> BTW, This is really hard/impossible to debug, unless you have the
> LCD/DVI plugged in, I've seen people just sit and wait for a serial
> response they will never get, only to turn on the lcd to see a login
> prompt waiting the whole time...
>

I need to get an LCD soon!

Sean

Robert Nelson

unread,
Nov 12, 2008, 12:19:06 PM11/12/08
to beagl...@googlegroups.com
Quick update, Still in the process of finding all the needed fixes for
mojo handhelds.

However the Debian Lenny native netboot install works quite well,
takes about 20-30 minutes depending on your network connection and how
many packages you install. (yes it's armv4t, but atleast your not
using qemu... ;) )

http://elinux.org/BeagleBoardDebian

Reply all
Reply to author
Forward
0 new messages