Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Marek Vasut
On Monday, December 28, 2015 at 06:08:52 PM, Daniel Schwierzeck wrote: > Am 28.12.2015 um 16:52 schrieb Marek Vasut: > > On Monday, December 28, 2015 at 04:48:41 PM, Wills Wang wrote: > >> On 12/28/2015 09:47 PM, Marek Vasut wrote: > >>> On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Daniel Schwierzeck
Am 28.12.2015 um 16:52 schrieb Marek Vasut: > On Monday, December 28, 2015 at 04:48:41 PM, Wills Wang wrote: >> On 12/28/2015 09:47 PM, Marek Vasut wrote: >>> On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote: >>> [...] >>> >> "lowlevel_init.S" can't be dropped. > > Thank

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Marek Vasut
On Monday, December 28, 2015 at 04:48:41 PM, Wills Wang wrote: > On 12/28/2015 09:47 PM, Marek Vasut wrote: > > On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote: > > [...] > > > "lowlevel_init.S" can't be dropped. > >>> > >>> Thank you very much for all the effort you put into i

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Wills Wang
On 12/28/2015 09:47 PM, Marek Vasut wrote: On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote: [...] "lowlevel_init.S" can't be dropped. Thank you very much for all the effort you put into investigating and explaining why this SRAM area cannot be used ... not. From my side, conside

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Wills Wang
On 12/28/2015 09:47 PM, Marek Vasut wrote: On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote: [...] "lowlevel_init.S" can't be dropped. Thank you very much for all the effort you put into investigating and explaining why this SRAM area cannot be used ... not. From my side, conside

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Marek Vasut
On Monday, December 28, 2015 at 12:17:41 PM, Wills Wang wrote: [...] > >> "lowlevel_init.S" can't be dropped. > > > > Thank you very much for all the effort you put into investigating and > > explaining why this SRAM area cannot be used ... not. From my side, > > consider this patch to be NAKed. >

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-28 Thread Wills Wang
On 12/27/2015 08:27 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 12:37:16 PM, Wills Wang wrote: On 12/27/2015 07:04 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: On 12/27/2015 06:09 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 09:0

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Wills Wang
On 12/27/2015 07:37 PM, Daniel Schwierzeck wrote: Am 27.12.2015 um 12:04 schrieb Marek Vasut: On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: On 12/27/2015 06:09 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: On 12/27/2015 03:38 PM, Mar

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Marek Vasut
On Sunday, December 27, 2015 at 12:37:16 PM, Wills Wang wrote: > On 12/27/2015 07:04 PM, Marek Vasut wrote: > > On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: > >> On 12/27/2015 06:09 PM, Marek Vasut wrote: > >>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: >

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Marek Vasut
On Sunday, December 27, 2015 at 12:37:37 PM, Daniel Schwierzeck wrote: > Am 27.12.2015 um 12:04 schrieb Marek Vasut: > > On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: > >> On 12/27/2015 06:09 PM, Marek Vasut wrote: > >>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Daniel Schwierzeck
Am 27.12.2015 um 12:04 schrieb Marek Vasut: > On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: >> On 12/27/2015 06:09 PM, Marek Vasut wrote: >>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: On 12/27/2015 03:38 PM, Marek Vasut wrote: > On Sunday, December 2

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Wills Wang
On 12/27/2015 07:04 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: On 12/27/2015 06:09 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: On 12/27/2015 03:38 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 08:3

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Marek Vasut
On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote: > On 12/27/2015 06:09 PM, Marek Vasut wrote: > > On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: > >> On 12/27/2015 03:38 PM, Marek Vasut wrote: > >>> On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote: >

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Wills Wang
On 12/27/2015 06:09 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: On 12/27/2015 03:38 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote: On 12/27/2015 02:37 AM, Marek Vasut wrote: On Saturday, December 26, 2015 at 07

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Marek Vasut
On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote: > On 12/27/2015 03:38 PM, Marek Vasut wrote: > > On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote: > >> On 12/27/2015 02:37 AM, Marek Vasut wrote: > >>> On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote: > >>>

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-27 Thread Wills Wang
On 12/27/2015 03:38 PM, Marek Vasut wrote: On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote: On 12/27/2015 02:37 AM, Marek Vasut wrote: On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote: WASP is ar9341. Please do not top post. Did you try if the memory is accessi

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Marek Vasut
On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote: > On 12/27/2015 02:37 AM, Marek Vasut wrote: > > On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote: > >> WASP is ar9341. > > > > Please do not top post. > > > > Did you try if the memory is accessible on your platform ?

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Wills Wang
On 12/27/2015 02:37 AM, Marek Vasut wrote: On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote: WASP is ar9341. Please do not top post. Did you try if the memory is accessible on your platform ? AR9331 I have here has the SRAM at 0xbd007000 , just like that machine in [1] . I fo

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Marek Vasut
On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote: > WASP is ar9341. Please do not top post. Did you try if the memory is accessible on your platform ? AR9331 I have here has the SRAM at 0xbd007000 , just like that machine in [1] . > On 12/27/2015 02:17 AM, Marek Vasut wrote: > >

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Wills Wang
WASP is ar9341. On 12/27/2015 02:17 AM, Marek Vasut wrote: On Saturday, December 26, 2015 at 06:35:35 PM, Marek Vasut wrote: On Saturday, December 26, 2015 at 04:48:57 PM, Wills Wang wrote: [...] The SPI flash is an IP block which just maps the SPI NOR into the address space, it doesn't use

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Marek Vasut
On Saturday, December 26, 2015 at 06:35:35 PM, Marek Vasut wrote: > On Saturday, December 26, 2015 at 04:48:57 PM, Wills Wang wrote: > > [...] > > > > The SPI flash is an IP block which just maps the SPI NOR into the > > > address space, it doesn't use the CPU cache at all. > > > > > > Maybe you

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Marek Vasut
On Saturday, December 26, 2015 at 04:48:57 PM, Wills Wang wrote: [...] > > The SPI flash is an IP block which just maps the SPI NOR into the address > > space, it doesn't use the CPU cache at all. > > > > Maybe you don't even need to lock cachelines though, the AR9331 should > > have some intern

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-26 Thread Wills Wang
On 12/26/2015 02:02 PM, Marek Vasut wrote: On Friday, December 25, 2015 at 12:38:39 PM, Wills Wang wrote: On 12/24/2015 11:12 PM, Marek Vasut wrote: On Thursday, December 24, 2015 at 02:51:06 PM, Wills Wang wrote: [...] +LEAF(lowlevel_init) + /* These three WLAN_RESET will avoid original

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-25 Thread Marek Vasut
On Friday, December 25, 2015 at 12:38:39 PM, Wills Wang wrote: > On 12/24/2015 11:12 PM, Marek Vasut wrote: > > On Thursday, December 24, 2015 at 02:51:06 PM, Wills Wang wrote: > > > > [...] > > > +LEAF(lowlevel_init) > + /* These three WLAN_RESET will avoid original issue */ > +

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-25 Thread Wills Wang
On 12/24/2015 11:12 PM, Marek Vasut wrote: On Thursday, December 24, 2015 at 02:51:06 PM, Wills Wang wrote: [...] +LEAF(lowlevel_init) + /* These three WLAN_RESET will avoid original issue */ +li t3, 0x03 +1: +li t0, KSEG1ADDR(AR71XX_RESET_BASE) +lw t1, AR933X_RE

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-24 Thread Marek Vasut
On Thursday, December 24, 2015 at 02:51:06 PM, Wills Wang wrote: [...] > >> +LEAF(lowlevel_init) > >> + /* These three WLAN_RESET will avoid original issue */ > >> +li t3, 0x03 > >> +1: > >> +li t0, KSEG1ADDR(AR71XX_RESET_BASE) > >> +lw t1, AR933X_RESET_REG_RESET_MODU

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-24 Thread Wills Wang
On 12/24/2015 07:52 PM, Marek Vasut wrote: On Thursday, December 24, 2015 at 12:22:00 PM, Wills Wang wrote: This patch enable work for ar933x SOC, tested on ar9331 board. Signed-off-by: Wills Wang [...] diff --git a/arch/mips/config.mk b/arch/mips/config.mk index 3ebc202..fd50909 100644 -

Re: [U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-24 Thread Marek Vasut
On Thursday, December 24, 2015 at 12:22:00 PM, Wills Wang wrote: > This patch enable work for ar933x SOC, tested on ar9331 board. > > Signed-off-by: Wills Wang [...] > diff --git a/arch/mips/config.mk b/arch/mips/config.mk > index 3ebc202..fd50909 100644 > --- a/arch/mips/config.mk > +++ b/arch

[U-Boot] [PATCH v3 1/4] mips: add base support for atheros ath79 based SOCs

2015-12-24 Thread Wills Wang
This patch enable work for ar933x SOC, tested on ar9331 board. Signed-off-by: Wills Wang --- Changes in v3: None Changes in v2: None arch/mips/Makefile |1 + arch/mips/config.mk |1 + arch/mips/mach-ath79/Makefile