I would like to learn about writing boot loaders.Like how to go about
writing a boot loader for the Beagle board. I tried web but couldn't
find info about the same. I would greatly appreciate your suggestions
and recommended readings.
read the uboot source code, then try to forget it
Thanks for your reply.
But I was expecting a better answer than that as I am seriously interested in learning the Bootloader code.
Google is your friend. Try searching for "Booting ARM Linux" or
"bootloader ARM Linux".
Here is a good starting place:
As Vladimir says, u-Boot source code is also a good place to start,
but you need some background information to interpret what is going on
in u-Boot and other loaders. The "tip of the spear", so to speak is
in u-Boot code at "../arch/arm/lib/bootm.c". This is where the
"ATAGs" are set up to pass parameters to the kernel and the kernel is
Mike Nelson, http://michaeltnelson.com
You must understand how the chip boots have you read the boot rom section of the TRM?
I have written an article after a long struggle with bootloader internals.
Here are the links.
It is written using GNU Assembler and C