Problems getting started with PC686 BSP

Joel Sherrill joel.sherrill at OARcorp.com
Wed Sep 15 14:28:12 UTC 2010


  For kicks and grins, can you run qemu and let it boot
from your hard drive?

I suspect that this is a newer laptop with a weird
video mode.  I haven't seen this before but it should
just boot.

--joel

On 09/15/2010 09:16 AM, Steven Grunza wrote:
> I've been trying to get the hello_world example to work on a Dell laptop
> without success.
>
> I've tried with RTEMS source from CVS head and with RTEMS source from
> rtems-4-10-branch (in case CVS head had a problem on the day I
> downloaded).
>
> I've tried using tools I built and tools installed from .rpm on two
> different CentOS 5 x86_64 machines.
>
> I'm using a USB boot from a flash drive (the laptop doesn't have a
> floppy drive).
>
> I followed directions from a web site to build a bootable USB drive with
> GRUB.  GRUB (0.97) loads and displays the expected menu of selections
> from the grub.conf file but none of the three files I try to boot work.
> The .ralf is reported as "Error 13: Invalid or unsupported executable
> format" and the .exe files leave the laptop with a blank screen.
>
> My grub.conf is:
>
> default=0
> timeout=15
> title RTEMS pc686-tests-hello.exe
>          root (hd0,0)
>          kernel /boot/images/pc686-tests-hello.exe
> title RTEMS pc686-hello.ralf
>          root (hd0,0)
>          kernel /boot/images/pc686-hello.ralf
> title RTEMS pc686-hello.exe
>          root (hd0,0)
>          kernel /boot/images/pc686-hello.exe
>
>
> The file pc686-tests-hello.exe came from
> /opt/rtems-4.11/i386-rtems4.11/pc686/lib/rtems-4.10/tests and
> /opt/rtems-4.11/i386-rtems4.11/pc686/lib/rtems-4.11/tests after
> installing the RTEMS I built and running "make install".
>
> The files pc686-hello.* came from building the hello_world examples.
>
>
> My USB drive contents are:
>
> J:\>dir /s
>   Volume in drive J has no label.
>   Volume Serial Number is 4C8F-D1DD
>
>   Directory of J:\
>
> 09/14/2010  03:51 PM<DIR>           boot
>                 0 File(s)              0 bytes
>
>   Directory of J:\boot
>
> 09/14/2010  03:50 PM<DIR>           .
> 09/14/2010  03:50 PM<DIR>           ..
> 09/14/2010  03:55 PM<DIR>           images
> 09/14/2010  03:53 PM<DIR>           grub
>                 0 File(s)              0 bytes
>
>   Directory of J:\boot\images
>
> 09/14/2010  03:50 PM<DIR>           .
> 09/14/2010  03:50 PM<DIR>           ..
> 09/15/2010  09:34 AM         1,349,972 pc686-hello.exe
> 09/15/2010  09:35 AM           187,904 pc686-hello.ralf
> 09/15/2010  09:33 AM         1,170,079 pc686-tests-hello.exe
>                 3 File(s)      2,707,955 bytes
>
>   Directory of J:\boot\grub
>
> 09/14/2010  03:51 PM<DIR>           .
> 09/14/2010  03:51 PM<DIR>           ..
> 09/14/2010  03:51 PM             7,584 e2fs_stage1_5
> 09/14/2010  03:51 PM             7,456 fat_stage1_5
> 09/14/2010  03:51 PM             6,720 ffs_stage1_5
> 09/14/2010  03:53 PM               637 grub.conf
> 09/14/2010  03:51 PM             6,720 iso9660_stage1_5
> 09/14/2010  03:51 PM             8,224 jfs_stage1_5
> 09/14/2010  03:51 PM             6,880 minix_stage1_5
> 09/14/2010  03:51 PM             9,248 reiserfs_stage1_5
> 09/14/2010  03:51 PM            55,808 splash.xpm.gz
> 09/14/2010  03:51 PM               512 stage1
> 09/14/2010  03:51 PM           104,988 stage2
> 09/14/2010  03:51 PM             7,072 ufs2_stage1_5
> 09/14/2010  03:51 PM             6,272 vstafs_stage1_5
> 09/14/2010  03:51 PM             8,872 xfs_stage1_5
>                14 File(s)        236,993 bytes
>
>       Total Files Listed:
>                17 File(s)      2,944,948 bytes
>                 9 Dir(s)   2,012,889,088 bytes free
>
>
> Can someone send me a clue as I apparently don't have one?
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list