Thanks for all your responses, I think I can move forward now.
Thanks,
James
----- Original Message -----
From: "Yusuf Caglar AKYUZ" <[email protected]>
To: "James Whetstone" <[email protected]>
Cc: <[email protected]>
Sent: Friday, March 13, 2009 5:44 PM
Subject: Re: Question about compiled kernel image
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Whetstone wrote:
Hi,
Hi,
I've compiled the linux kernel from the git repository source with the
CodeSourcery toolchain and the result is that there are 2 binary files
in the /arch/arm/boot directory (I think that's the correct directory to
look for the kernel image, but I'm not sure). There's a "zImage" and
"Image" file, both executable. Which file is the image I should use?
None of them. u-boot needs uImage which you can generate with(at
kernel build)
make uImage
mkimage tool must be in your PATH.
At this point, all I've done is compile the kernel and u-boot. So now I
want to deploy them to the device (dm6467). Can someone please run me
through the basic workflow for uploading my compiled kernel and boot
loader to the device (dm6467)? Or perhaps give me some documentation
links that will tell me how to do this?
1. You should write u-boot into your nand/nor flash. If you're using
nand flash you'll need first stage bootloader as well.
http://wiki.davincidsp.com/index.php?title=RBL_UBL_and_host_program
2. Then you can download linux kernel to your board using tftp. You
should setup a tftp server on your host machine. Then to boot your
compiled kernel from u-boot prompt:
setenv ipaddr some-ip
setenv serverip host-machine-ip
setenv bootargs console=11520n8,...
saveenv
tftp load-address uImage
bootm load-adresss
3. You'll need a filesystem as well to get started:
http://wiki.davincidsp.com/index.php?title=Linux_Toolchain#Kernel
Good luck,
Caglar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkm6/e4ACgkQ/nL+S5dojejV7QCfRFzpe0tSylcY/yiFLZJoat7s
6d8An0d5clrFLZxJ5HxglXt/fqG0uADw
=EKUq
-----END PGP SIGNATURE-----
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source