public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rogan Dawes <rogan@dawes.za.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [non-working configuraton, post relocation 7/7] DNS323 configuration
Date: Sun, 27 Mar 2011 22:54:06 +0200	[thread overview]
Message-ID: <4D8FA3EE.70507@dawes.za.net> (raw)
In-Reply-To: <4D8498A6.1060106@dawes.za.net>

On 2011/03/19 1:51 PM, Rogan Dawes wrote:
> On 2011/03/19 9:19 AM, Heiko Schocher wrote:
> 
>>> Marvell>> bootm
>>> ## Booting image at 00100000 ...
>>>    Image Name:   UBoot dns323
>>>    Image Type:   ARM U-Boot Kernel Image (uncompressed)
>>>    Data Size:    170100 Bytes = 166.1 kB
>>>    Load Address: 03000000
>>>    Entry Point:  03000000
>>>    Verifying Checksum ... OK
>>> OK
>>>
>>> Starting kernel ...
>>
>> With relocation, you must set TEXT_BASE to the value you start
>> the image, so please try to set TEXT_BASE = load_addr.
>>
>> Also, if you do a ram image, don;t forget that with relocation
>> the u-boot image gets relocated to the end of ram, so don;t choose
>> a TEXT_BASE near the end of ram.
>>
>> If that not helps, you maybe need a debugger ...
>>
>> bye,
>> Heiko
> 
> Hi Heiko,
> 
> I did see that, and thought it might have something to do with it. I
> also tried building a version with the TEXT_BASE at 0x100000, but had
> exactly the same result.
> 
> It sounds like a debugger will be my only option. Fortunately, I should
> be getting a Segger J-Link JTAG adapter on Tuesday, and then maybe I can
> figure out what is going on.
> 
> Regards,
> 
> Rogan

Hi Heiko,

It is clear now that I *am* an idiot.

I was loading the uImage to 0x100000, but the uImage was configured to
be copied to 0x3000000 before being started by the vendor u-boot.

Setting TEXT_BASE to 0x3000000 allowed me to start my chainloaded "on
top of master" u-boot.

Now all I need is to figure out the right way to patch the CFI code to
handle my 8-bit/16-bit configuration, and I should be ready to submit a
working configuration.

Thanks for your help.

Rogan

  reply	other threads:[~2011-03-27 20:54 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 12:28 [U-Boot] Trying again: DNS323 Rogan Dawes
2011-03-18  8:04 ` [U-Boot] Working DNS323 config rogan at dawes.za.net
2011-03-18 19:34   ` Rogan Dawes
2011-03-18  8:04 ` [U-Boot] [PATCH 01/11] Orion5x: Correct DRAM bank detection rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 02/11] IDE: Don't assume there are always two devices per bus rogan at dawes.za.net
2011-04-25 21:31   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 03/11] Align linebuf to avoid misaligned aliases of it rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 04/11] Orion5x: bugfix: window size (mis)calculation rogan at dawes.za.net
2011-03-18 11:00   ` Prafulla Wadaskar
2011-03-18  8:04 ` [U-Boot] [PATCH 05/11] I2C: add Marvell TWSI simple driver rogan at dawes.za.net
2011-03-18  8:29   ` Heiko Schocher
2011-03-18  8:41     ` Rogan Dawes
2011-03-18  9:22       ` Heiko Schocher
2011-03-18 11:14         ` Rogan Dawes
2011-03-18 16:19       ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 06/11] edminiv2: add I2C support using mvtwsi driver rogan at dawes.za.net
2011-03-18 10:57   ` Prafulla Wadaskar
2011-03-18 11:16     ` Rogan Dawes
2011-03-18  8:04 ` [U-Boot] [PATCH 07/11] Allow setting CONFIG_NR_DRAM_BANKS to a larger value rogan at dawes.za.net
2011-04-25 21:38   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 08/11] DNS323 CFI driver changes (hacks, testing only) rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 09/11] Support passing a Marvell-specific ATAG rogan at dawes.za.net
2011-04-25 21:43   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 10/11] Copy the ramdisk from flash for the DNS323 rogan at dawes.za.net
2011-04-25 21:44   ` Wolfgang Denk
2011-04-26  7:09     ` Rogan Dawes
2011-03-18  8:09 ` [U-Boot] Non-working Relocated DNS323 config rogan at dawes.za.net
2011-03-18 10:53   ` Prafulla Wadaskar
2011-03-18 11:36     ` Rogan Dawes
2011-03-18  8:09 ` [U-Boot] [PATCH 1/7] Orion5x: Correct DRAM bank detection rogan at dawes.za.net
2011-03-18 10:52   ` Prafulla Wadaskar
2011-03-18 11:40     ` Rogan Dawes
2011-04-13 14:41   ` Prafulla Wadaskar
2011-03-18  8:09 ` [U-Boot] [PATCH 2/7] IDE: Don't assume there are always two devices per bus rogan at dawes.za.net
2011-03-18  8:09 ` [U-Boot] [PATCH 3/7] Allow setting CONFIG_NR_DRAM_BANKS to a larger value rogan at dawes.za.net
2011-03-18  8:10 ` [U-Boot] [PATCH 4/7] DNS323 CFI driver changes (hacks, testing only) rogan at dawes.za.net
2011-03-18  8:10 ` [U-Boot] [PATCH 5/7] Support passing a Marvell-specific ATAG rogan at dawes.za.net
2011-03-18 10:44   ` Prafulla Wadaskar
2011-03-18 11:44     ` Rogan Dawes
2011-03-18  8:10 ` [U-Boot] [PATCH 6/7] Copy the ramdisk from flash for the DNS323 rogan at dawes.za.net
2011-03-18 19:31 ` [U-Boot] [Working configuration, not for application 11/11] DNS323 configuration rogan at dawes.za.net
2011-03-18 19:39 ` [U-Boot] [non-working configuraton, post relocation 7/7] " rogan at dawes.za.net
2011-03-19  7:19   ` Heiko Schocher
2011-03-19 11:51     ` Rogan Dawes
2011-03-27 20:54       ` Rogan Dawes [this message]
2011-03-28  5:32         ` Heiko Schocher
2011-03-31  9:43         ` [U-Boot] how does Linux call the function from u-boot? sywang
2011-03-31 10:01           ` Wolfgang Denk
2011-03-31 23:59             ` sywang
2011-04-01  5:21               ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D8FA3EE.70507@dawes.za.net \
    --to=rogan@dawes.za.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox