Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > Such testing can be done anywhere, in some test branch. I don't think > > mainline is the right place for such an intrusive and experiemental > > feature. > > Do you have such a branch where you can apply this? But I'm have no plans to test

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/18 22:25:04: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > Ah, finally you make sense to me. I actually tested this with mainline > > on my board so it is not completely untested in mainline. > > As your board itself is not in mainline this _i

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Scott Wood
On Tue, 18 Jan 2011 21:39:23 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2011/01/18 21:24:16: > > I don't see why MPC8xx's MMU couldn't be used for this, although it > > might be a tight fit if you want to get everything into the pinned TLB > > entries. > > I think it is harder that tha

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > Ah, finally you make sense to me. I actually tested this with mainline > on my board so it is not completely untested in mainline. As your board itself is not in mainline this _is_ completely untested for mainline. > > It's a nice and appreciat

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Wolfgang Denk
Dear Scott Wood, In message <20110118142416.5892c...@udp111988uds.am.freescale.net> you wrote: > > > If we are talking about _all_ boards we have to keep a wider view. > > For example, on MPC8xx there are not BATs. Not to mention other > > architectures. > > I don't see why MPC8xx's MMU couldn't

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/18 21:06:34: > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > > You don't need to make the MMU trick work on all boards, just your board > > > (or cpu family), because it wouldn't be imposing anything on > > > the rest of the system. Do we actually

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Joakim Tjernlund
Scott Wood wrote on 2011/01/18 21:24:16: > On Tue, 18 Jan 2011 21:06:34 +0100 > Wolfgang Denk wrote: > > > Dear Joakim Tjernlund, > > > > In message > > > > you wrote: > > > boards which I don't think is possible. I do think my approach comes > > > closest though. > > > I did try BATs but I d

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Scott Wood
On Tue, 18 Jan 2011 21:06:34 +0100 Wolfgang Denk wrote: > Dear Joakim Tjernlund, > > In message > you > wrote: > > boards which I don't think is possible. I do think my approach comes > > closest though. > > I did try BATs but I didn't get very far. What problems did you run into? > > If

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > You don't need to make the MMU trick work on all boards, just your board > > (or cpu family), because it wouldn't be imposing anything on > > the rest of the system. Do we actually have someone who > > needs this feature on a board without a s

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Joakim Tjernlund
Scott Wood wrote on 2011/01/18 18:27:49: > On Tue, 18 Jan 2011 01:18:34 +0100 > Joakim Tjernlund wrote: > > > How do you think a solution for all boards would look like? > > The only other method is can think of is some MMU trickery and > > I don't even see how you can make that work on all board

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-18 Thread Scott Wood
On Tue, 18 Jan 2011 01:18:34 +0100 Joakim Tjernlund wrote: > How do you think a solution for all boards would look like? > The only other method is can think of is some MMU trickery and > I don't even see how you can make that work on all boards and You don't need to make the MMU trick work on a

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/18 00:42:10: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > No other board is broken. This new function is neutral to other boards. > > Well, I see this differntly. > > > Wolfgang, once you indicated you were interested in such feature as I have

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > No other board is broken. This new function is neutral to other boards. Well, I see this differntly. > Wolfgang, once you indicated you were interested in such feature as I have > added but my first impl. had LINK_OFF calls all over the place,

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/17 23:11:59: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > > > It would break only if link address != load address. That is, if you > > > > want to use my new CONFIG_SYS_TRUE_PIC feature and be able to load > > > > u-boot at any address regardle

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > > It would break only if link address != load address. That is, if you > > > want to use my new CONFIG_SYS_TRUE_PIC feature and be able to load > > > u-boot at any address regardless of link address you would > > > have to add LINK_OFF calls in

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-10 Thread Joakim Tjernlund
Scott Wood wrote on 2011/01/10 19:24:02: > > On Sun, 9 Jan 2011 21:48:47 +0100 > Joakim Tjernlund wrote: > > > Wolfgang Denk wrote on 2011/01/09 21:29:04: > > > > > > Dear Joakim Tjernlund, > > > > > > In message > > > <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> you > > >

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-10 Thread Scott Wood
On Sun, 9 Jan 2011 21:48:47 +0100 Joakim Tjernlund wrote: > Wolfgang Denk wrote on 2011/01/09 21:29:04: > > > > Dear Joakim Tjernlund, > > > > In message > > <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> you wrote: > > > Only these 2 call sites depends on fixups for my mpc83

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-09 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/09 21:29:04: > > Dear Joakim Tjernlund, > > In message <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Only these 2 call sites depends on fixups for my mpc8321 based > > board. > > > > Signed-off-by: Joakim Tjernlund > > --- > >

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-09 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Only these 2 call sites depends on fixups for my mpc8321 based > board. > > Signed-off-by: Joakim Tjernlund > --- > arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- > arch/powerpc/lib

[U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2010-12-20 Thread Joakim Tjernlund
Only these 2 call sites depends on fixups for my mpc8321 based board. Signed-off-by: Joakim Tjernlund --- arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- arch/powerpc/lib/board.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init