Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Jun 2003 10:05 AM by  morrisrd@appliedbiosystems.com
Things that helped with the Linux SDK
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
morrisrd@appliedbiosystems.com
New Member
New Member
Posts:


--
04 Jun 2003 12:50 PM
    I ran into a few minor problems during the kernel installation and boot using the lpd-linux-LLH79520-1.0.0b.tgz SDK.

    I've left out the steps that were already described in the LPD-README that was included in the above tar file.

    Before step 4, I needed to do the following:
    a. scripts/mkdep needs to have its attributes bits set as executable:
    chmod ugo+x mkdep
    b. scripts/split-include needs to have its attribute bits set as executable:
    chmod ugo+x split-include
    c. bdk/lh79520/src/linux/include needs "asm" symlinked to asm-arm, or one
    needs to run "make symlinks" or "make config" in the bdk/lh79520/src/linux directory:
    cd bdk/lh79520/src/linux/include
    ln -s asm-arm asm

    After step 4, I created a root file system as recomended in the Lineo ARM SDK using (See the Lineo ARM SDK for more details.):

    make -f Makefile.bdk deploy

    This is a root file system that you can use to boot. It will be located at:
    /opt/Embedix/bdk/lh79520/tmp/rootfsdir/

    It can either be placed on a Compact Flash device, I used an ext2 file system as that is enabled in the kernel. Of you can put this root file system on your NFS server.

    Before downloading the kernel image to flash in step 6, one needs to enable the network inteface:
    ifconfig sm0 dhcp

    After downloading the kernel image, I burned it into flash using the 'burn' command. I subsequently loaded the kernel from flash.

    When booting using an NFS mounted root file system, I used the following command which included the 'nfsroot' option.

    exec 0x40100000 - ip=dhcp root=nfs nfsroot=<ip address>:<directory path to root image>

    in my case the actual command was:

    exec 0x40100000 - ip=dhcp root=nfs nfsroot=167.116.10.253:/tftpboot/lh79520

    When booting using the Compact Flash, I used the following command:

    exec 0x40100000 - ip=dhcp root=/dev/hda1

    That's it.
    elf-coastal@buici.com
    New Member
    New Member
    Posts:


    --
    10 Jun 2003 02:54 PM
    My kernel bootup appears to fail when it switches console modes. I posted a message about this. I'm womdering if I may need their LCD display.
    morrisrd@appliedbiosystems.com
    New Member
    New Member
    Posts:


    --
    13 Jun 2003 10:05 AM
    Yes, I do have the display Logic PD sells.

    I'm not sure that is your problem though. I just unplugged my display and rebooted without changing anything and the OS booted fine. At what point does the boot fail?

    You can disable the GUI for the display by doing the following:

    In your root file system, edit the file /etc/inittab. The contents should look something like:

    ::sysinit:/etc/rc.d/rcS
    ::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
    ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
    ::respawn:/sbin/getty -L ttyAM1 115200 vt100
    ::respawn:/etc/rc.d/rc.qpe
    tty2::respawn:/sbin/getty 9600 tty2

    Comment out the line: ::respawn:/etc/rc.d/rc.qpe by placing a # in front of it. The resulting file should look like:

    ::sysinit:/etc/rc.d/rcS
    ::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
    ::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
    ::respawn:/sbin/getty -L ttyAM1 115200 vt100
    #::respawn:/etc/rc.d/rc.qpe
    tty2::respawn:/sbin/getty 9600 tty2

    Reboot your board.
    You are not authorized to post a reply.