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.
|