From: Mark Jackson <mpfj-list@mimc.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] atngw100: Use virtual address in CONFIG_ENV_ADDR
Date: Tue, 01 Sep 2009 16:56:46 +0100 [thread overview]
Message-ID: <4A9D443E.9080702@mimc.co.uk> (raw)
In-Reply-To: <20090901172047.28e67875@hskinnemoen-d830>
Haavard Skinnemoen wrote:
<snip>
> Right...I'm beginning to doubt that anyone is familiar enough with the
> u-boot code, since everyone seems to have their own opinion about how
> things are supposed to work.
>
> To summarize, here are the possible ways to fix the problem as I see it:
> - Use virtual address in CONFIG_ENV_ADDR to conform with the way the
> CFI driver currently works. Rejected by Wolfgang because virtual
> addresses don't exist.
> - Fix the API and user interface breakage by reverting commit
> 09ce9921. Rejected because virtual addresses are used everywhere.
> - Fix it by using map_physmem() in a way that works for all
> architectures. Rejected because all other architectures than PPC
> are evil and need to be punished for doing things differently.
Your "triple revert" patch doesn't look overly complex, and seems to only
add a few map_physmem() calls (I'm summarising *quite* a bit there !!).
Is there not some way using weak functions (or similar) to add some AVR32
specific workarounds.
Or ... there's *plenty* of arch specific #ifdefs in most of the rest of
u-boot, so could we not just "#ifdef AVR32" the existing code for the
time being until this sticking point gets unstuck ?
> - Introduce a custom flash driver for ATNGW100. Rejected because
> stupid principles are more important than making things work.
>
> So I don't really know where to proceed from here. I guess two
> additional options are forking the damn thing or creating a proprietary
> bootloader, but I don't really want to do either.
Me neither !!
Mark
next prev parent reply other threads:[~2009-09-01 15:56 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-28 8:42 [U-Boot] [PATCH] atngw100: Use virtual address in CONFIG_ENV_ADDR Haavard Skinnemoen
2009-08-28 9:16 ` Mark Jackson
2009-08-28 9:34 ` Haavard Skinnemoen
2009-08-28 10:16 ` Mark Jackson
2009-08-28 10:27 ` Haavard Skinnemoen
2009-08-28 10:35 ` Mark Jackson
2009-08-28 11:58 ` Wolfgang Denk
2009-08-28 11:56 ` Wolfgang Denk
2009-08-28 12:14 ` Haavard Skinnemoen
2009-08-28 13:42 ` Kumar Gala
2009-08-28 13:49 ` Haavard Skinnemoen
2009-08-28 19:58 ` Becky Bruce
2009-08-29 11:39 ` Stefan Roese
2009-08-30 15:52 ` Haavard Skinnemoen
2009-08-30 15:36 ` Haavard Skinnemoen
2009-08-30 18:11 ` Wolfgang Denk
2009-08-30 20:42 ` Haavard Skinnemoen
2009-08-31 11:57 ` Wolfgang Denk
2009-08-31 13:53 ` Haavard Skinnemoen
2009-08-31 17:46 ` Wolfgang Denk
2009-09-01 8:57 ` Haavard Skinnemoen
2009-09-01 9:16 ` Stefan Roese
2009-09-01 10:18 ` Haavard Skinnemoen
2009-09-01 9:47 ` Wolfgang Denk
2009-09-01 10:38 ` Haavard Skinnemoen
2009-09-01 11:05 ` Wolfgang Denk
2009-09-01 11:42 ` Haavard Skinnemoen
2009-09-01 13:04 ` Wolfgang Denk
2009-09-01 13:23 ` Haavard Skinnemoen
2009-09-01 13:47 ` Wolfgang Denk
2009-09-01 13:52 ` Haavard Skinnemoen
2009-09-01 14:49 ` Thiago A. Corrêa
2009-09-01 15:20 ` Haavard Skinnemoen
2009-09-01 15:56 ` Mark Jackson [this message]
2009-09-01 17:50 ` [U-Boot] Virtual addresses, u-boot, and the MMU J. William Campbell
2009-09-01 19:21 ` Wolfgang Denk
2009-09-01 22:01 ` J. William Campbell
2009-09-02 7:59 ` Wolfgang Denk
2009-09-03 16:09 ` Becky Bruce
2009-09-03 17:25 ` J. William Campbell
2009-09-03 17:32 ` Andrew Dyer
2009-09-04 8:34 ` Mark Jackson
2009-09-04 8:58 ` Haavard Skinnemoen
2009-09-04 8:44 ` Haavard Skinnemoen
2009-08-31 20:05 ` [U-Boot] [PATCH] atngw100: Use virtual address in CONFIG_ENV_ADDR Becky Bruce
2009-09-01 9:15 ` Haavard Skinnemoen
2009-08-31 19:17 ` Becky Bruce
2009-09-01 10:15 ` Haavard Skinnemoen
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=4A9D443E.9080702@mimc.co.uk \
--to=mpfj-list@mimc.co.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.