Answering to myself to try and provide more background info:
As a follow up to my previous messages, I now have a working kernel and a
working bootloader... but not when they are both together.
Case in point:
- load zImage.elf to DRAM 0x40 with JTAG debugger. Run it. It runs
fine.
- Loa
Thank you Milton for the detailed explanation. It'll take me quite a while
to digest it.
As a follow up to my previous messages, I now have a working kernel and a
working bootloader... but not when they are both together.
Case in point:
- load zImage.elf to DRAM 0x40 with JTAG debugger.
On Fri Jul 18 18:43:11 EST 2008, Guillaume Dargaud wrote:
Hello Milton and David, thanks for the answers.
This is a very reasonable approach, and is quite similar to what
I do.
Makes me feel better !!!
You actually have a few choices. You can put just the loaded
data, or you can put the elf
On Jul 17, 2008, at 10:47 PM, David Gibson wrote:
On Thu, Jul 17, 2008 at 11:14:11AM -0500, Milton Miller wrote:
On Thu Jul 17 at 23:22:28 EST in 2008, Guillaume Dargaud wrote:
[snip]
[more snip]
We call this the flattened device tree.
Your firmware doesn't have to deal with this though,
Hello Milton and David, thanks t=for the answers.
This is a very reasonable approach, and is quite similar to what
I do.
Makes me feel better !!!
You actually have a few choices. You can put just the loaded
data, or you can put the elf file and parse the header in your
boot loader.
I cannot
On Thu, Jul 17, 2008 at 11:14:11AM -0500, Milton Miller wrote:
> On Thu Jul 17 at 23:22:28 EST in 2008, Guillaume Dargaud wrote:
[snip]
>> Maybe the main() of the kernel can receive argv/argc the usual way,
>> and I
>> just need to call "0x40(argc, argv);" but I have no idea if that
>> work
On Thu Jul 17 at 23:22:28 EST in 2008, Guillaume Dargaud wrote:
Hello all,
I'm in the process of writing a mini-bootloaler for a custom board and
would
like some feedback on my boot methodology.
Basically the kernel code (elf file) is copied into memory by a JTAG
debugger. A custom program (y
Hello all,
I'm in the process of writing a mini-bootloaler for a custom board and would
like some feedback on my boot methodology.
Basically the kernel code (elf file) is copied into memory by a JTAG
debugger. A custom program (yet to be finished) then copies it onto an
onboard flash memory u