[RFC PATCH 0/4] Alternative debug outputs for rockchip devices

2022-09-21 Thread Marty E. Plummer
ions. If someone who *actually knows* could elaborate on it and correct me if needed I'd greatly appreciate it. Marty E. Plummer (4): rockchip: rk3288: enable u-boot.rom for speedy rockchip: rk3288: enable uart2->usb redirection rockchip: rk3399: fix typo in grf file rockchip:

[RFC PATCH 1/4] rockchip: rk3288: enable u-boot.rom for speedy

2022-09-21 Thread Marty E. Plummer
Trivial change, builds a bootable u-boot.rom properly. Signed-off-by: Marty E. Plummer --- arch/arm/mach-rockchip/rk3288/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig index e8c57843a3..99bf2397e6

[RFC PATCH 2/4] rockchip: rk3288: enable uart2->usb redirection

2022-09-21 Thread Marty E. Plummer
08: check: Alignment should match open parenthesis Signed-off-by: Marty E. Plummer --- .../include/asm/arch-rockchip/grf_rk3288.h| 41 +++ arch/arm/mach-rockchip/rk3288/rk3288.c| 20 + 2 files changed, 61 insertions(+) diff --git a/arch/arm/include/asm/arch-r

[RFC PATCH 3/4] rockchip: rk3399: fix typo in grf file

2022-09-21 Thread Marty E. Plummer
Not even used as far as I can see, but still. Signed-off-by: Marty E. Plummer --- arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h b/arch/arm/include/asm/arch-rockchip/grf_rk3399

[RFC PATCH 4/4] rockchip: rk3399: attempt to redirect uart2dbga to sdcard

2022-09-21 Thread Marty E. Plummer
The meat of my problem. rk3399 has the ability to redirect uart2 to sdcard pins. This setup half works; I can push input into the uart, but not see output. Signed-off-by: Marty E. Plummer --- arch/arm/dts/rk3399-gru.dtsi | 7 ++- arch/arm/dts/rk3399.dtsi

Re: [RFC PATCH 4/4] rockchip: rk3399: attempt to redirect uart2dbga to sdcard

2022-09-28 Thread Marty E. Plummer
On Wed, Sep 28, 2022 at 04:20:37AM -0600, Simon Glass wrote: > Hi Marty, > > On Thu, 22 Sept 2022 at 00:47, Marty E. Plummer > wrote: > > > > The meat of my problem. rk3399 has the ability to redirect uart2 to > > sdcard pins. This setup half works; I can push in

Re: rk3399-gru-kevin: issues on bringup

2021-03-13 Thread Marty E. Plummer
On Wed, Mar 10, 2021 at 11:52:07PM -0500, Simon Glass wrote: > Hi, > > On Thu, 13 Aug 2020 at 13:35, Alper Nebi Yasak > wrote: > > > > Hi Simon, Marty, > > > > I'm interested in getting U-Boot to work with Kevin as well, but don't > > have a Servo (or the willingness to open up the case yet), so

Re: rk3399-gru-kevin: issues on bringup

2021-02-23 Thread Marty E. Plummer
On Tue, Feb 23, 2021 at 10:10:11AM -0500, Simon Glass wrote: > Hi Marty, > > On Thu, 13 Aug 2020 at 13:35, Alper Nebi Yasak > wrote: > > > > Hi Simon, Marty, > > > > I'm interested in getting U-Boot to work with Kevin as well, but don't > > have a Servo (or the willingness to open up the case ye

Re: rk3399-gru-kevin: issues on bringup

2021-02-24 Thread Marty E. Plummer
On Wed, Feb 24, 2021 at 11:31:05AM -0500, Simon Glass wrote: > Hi Marty, > > On Tue, 23 Feb 2021 at 16:36, Marty E. Plummer wrote: > > > > On Tue, Feb 23, 2021 at 10:10:11AM -0500, Simon Glass wrote: > > > Hi Marty, > > > > > > On Thu, 13 A

rk3399-gru-kevin: issues on bringup

2020-07-19 Thread Marty E. Plummer
Greetings. I've been working on u-boot for rk3399-gru-kevin, Samsung Chromebook Plus. In theory it should be fairly similar to the Bob chromebook, and as such my work is largely based on it. Aside from some trivial changes, and adding chromebook_kevin_defconfig (direct copy of bob's config, with b

Re: rk3399-gru-kevin: issues on bringup

2020-07-21 Thread Marty E. Plummer
On Tue, Jul 21, 2020 at 10:21:52AM -0600, Simon Glass wrote: > Hi Marty, > > Did you check spl_boot_device()? > After sending the initial email I noticed your binman work, which does some of the stuff I think I need. My current setup is as follows: diff --git a/arch/arm/dts/Makefile b/arch/arm/d

Re: rk3399-gru-kevin: issues on bringup

2020-07-31 Thread Marty E. Plummer
On Tue, Jul 28, 2020 at 12:58:30PM -0600, Simon Glass wrote: > Hi Marty, > > On Tue, 21 Jul 2020 at 21:07, Marty E. Plummer wrote: > > > > On Tue, Jul 21, 2020 at 10:21:52AM -0600, Simon Glass wrote: > > > Hi Marty, > > > > > > Did you check spl_bo

Re: rk3399-gru-kevin: issues on bringup

2020-08-07 Thread Marty E. Plummer
On Mon, Aug 03, 2020 at 08:13:38PM -0600, Simon Glass wrote: > Hi Marty, > > On Mon, 3 Aug 2020 at 07:49, Simon Glass wrote: > > > > Hi Marty, > > > > On Sun, 2 Aug 2020 at 21:02, Simon Glass wrote: > > > > > > Hi Marty, > > > > > > > > > I dug this out but I cannot get it to boot with the em100

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-11-24 Thread Marty E. Plummer
On Tue, Nov 13, 2018 at 01:35:48PM -0800, Simon Glass wrote: > Hi, > > On 13 November 2018 at 11:58, Vagrant Cascadian wrote: > > On 2018-09-13, Marty E. Plummer wrote: > >> This adds support for the ASUS C201, a RK3288-based clamshell > >> device. The device t

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-07-05 Thread Marty E. Plummer
On Sat, May 19, 2018 at 02:08:53PM +0200, Dr. Philipp Tomsich wrote: > Marty, > > > On 19 May 2018, at 12:40, Marty E. Plummer wrote: > > > > So explain to me what you'd like me to do here, if you would. What I > > gather from this is you want me to f

Re: [U-Boot] [PATCH 2/3] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-07-23 Thread Marty E. Plummer
On Fri, Jul 13, 2018 at 12:31:49PM +0200, Dr. Philipp Tomsich wrote: > > > On 7 May 2018, at 02:20, Marty E. Plummer wrote: > > > > On Mon, May 07, 2018 at 12:12:54AM +0200, klaus.go...@theobroma-systems.com > > <mailto:klaus.go...@theobroma-systems.com> wrote:

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: fix incorrect detection of ram size

2019-01-05 Thread Marty E. Plummer
u-boot build for the asus c201 chromebook (4GiB) > >> is incorrectly detected as 0 Bytes of ram. > >> > >> Signed-off-by: Marty E. Plummer > >> Reviewed-by: Philipp Tomsich > >> --- > >> arch/arm/mach-rockchip/sdram_common.c | 2 ++ > >> 1 fil

[U-Boot] [PATCH v3] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2019-01-05 Thread Marty E. Plummer
r3-samsung-4GB.inc Signed-off-by: Marty E. Plummer --- v2: drop sf: Add GigaDevice gd25q32b entry: subsumed by commit b1f2b72e39465f2d4582bb4d8c426489ee94e2d9 split out rk3288-veyron-speedy-u-boot.dtsi drop useless if (!size_mb) apply changes from chromebook_jerry_defconfig v3: drop roc

[U-Boot] [PATCH v2 1/2] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-09-13 Thread Marty E. Plummer
r3-samsung-4GB.inc Signed-off-by: Marty E. Plummer --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 31 arch/arm/dts/rk3288-veyron-speedy.dts | 143 ++ arch/arm/mach-rockchip/rk3288-board-spl.c | 3 +- arc

[U-Boot] [PATCH v2 2/2] rockchip: fix incorrect detection of ram size

2018-09-13 Thread Marty E. Plummer
Taken from coreboot's src/soc/rockchip/rk3288/sdram.c Without this change, my u-boot build for the asus c201 chromebook (4GiB) is incorrectly detected as 0 Bytes of ram. Signed-off-by: Marty E. Plummer --- arch/arm/mach-rockchip/sdram_common.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [U-Boot] [PATCH v2 2/2] rockchip: fix incorrect detection of ram size

2018-09-14 Thread Marty E. Plummer
On Fri, Sep 14, 2018 at 12:55:19PM +0200, Simon Glass wrote: > Hi Marty, > > > On 13 September 2018 at 23:55, Marty E. Plummer > wrote: > > Taken from coreboot's src/soc/rockchip/rk3288/sdram.c > > > > Without this change, my u-boot build for the asus c20

Re: [U-Boot] [PATCH v2 1/2] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-09-14 Thread Marty E. Plummer
On Fri, Sep 14, 2018 at 12:55:16PM +0200, Simon Glass wrote: > On 13 September 2018 at 23:55, Marty E. Plummer > wrote: > > This adds support for the ASUS C201, a RK3288-based clamshell > > device. The device tree comes from linus's linux tree at > > 3f16503b7d2274ac

[U-Boot] [RFC PATCH] rockchip: asus c201 support

2017-10-03 Thread Marty E. Plummer
From: "Marty E. Plummer" I realize this patch is not up to standards for the sake of mainlining right now, but I'm mostly interested in getting some feedback on how to make it work before getting into the nicities of mainline inclusion. As of right now the bulk of this is th

Re: [U-Boot] [U-Boot,RFC] rockchip: asus c201 support

2018-05-02 Thread Marty E. Plummer
So, regarding my old patchset. Thanks to the generous support of Simon, I have been able to use a google servo board to obtain an output log of my boot failure. Whereas Simon got the following: U-Boot SPL 2017.11-rc2-00017-g6cda208-dirty (Oct 19 2017 - 17:20:26) Trying to boot from SPI U-Boot 20

[U-Boot] [PATCH 0/3] add support for the asus C201 chromebook (4GiB)

2018-05-06 Thread Marty E. Plummer
coreboot, as it has otherwise identical code (minus the if (!size_mb) block), and actually works on my hardware. Marty E. Plummer (3): sf: Add GigaDevice gd25q32b entry rockchip: add support for veyron-speedy (ASUS Chromebook C201) rockchip: fix incorrect detection of ram size arch/arm/dts/Make

[U-Boot] [PATCH 1/3] sf: Add GigaDevice gd25q32b entry

2018-05-06 Thread Marty E. Plummer
Add entry for GigaDevice gd25q32b part. Signed-off-by: Marty E. Plummer --- drivers/mtd/spi/spi_flash_ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index ef55abb01d..de940645ed 100644 --- a/drivers/mtd/spi

[U-Boot] [PATCH 2/3] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-05-06 Thread Marty E. Plummer
r3-samsung-4GB.inc Signed-off-by: Marty E. Plummer --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-veyron-speedy.dts | 189 ++ arch/arm/mach-rockchip/rk3288-board-spl.c | 3 +- arch/arm/mach-rockchip/rk3288/Kconfig | 11 ++ board/google/veyr

[U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
Taken from coreboot's src/soc/rockchip/rk3288/sdram.c Without this change, my u-boot build for the asus c201 chromebook (4GiB) is incorrectly detected as 0 Bytes of ram. Signed-off-by: Marty E. Plummer --- arch/arm/mach-rockchip/sdram_common.c | 62 --- 1 file ch

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
On Sun, May 06, 2018 at 08:39:23PM +0200, klaus.go...@theobroma-systems.com wrote: > CC Philipp and Simon due maintainership (you may want to use > get_maintainer.pl in the future) > and Kever as the original author of the file. > > > On 06.05.2018, at 16:25, Marty

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
On Sun, May 06, 2018 at 02:08:25PM -0500, Marty E. Plummer wrote: > > On Sun, May 06, 2018 at 08:39:23PM +0200, klaus.go...@theobroma-systems.com > > wrote: > > > On 06.05.2018, at 16:25, Marty E. Plummer wrote: > > > + * we use the 0x~0xfeff

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
On Sun, May 06, 2018 at 10:21:55PM +0200, klaus.go...@theobroma-systems.com wrote: > > > On 06.05.2018, at 22:03, Marty E. Plummer wrote: > > > > On Sun, May 06, 2018 at 02:08:25PM -0500, Marty E. Plummer wrote: > >>> On Sun, May 06, 2018 at 08:39:23PM +0

Re: [U-Boot] [PATCH 2/3] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-05-06 Thread Marty E. Plummer
On Mon, May 07, 2018 at 12:12:54AM +0200, klaus.go...@theobroma-systems.com wrote: > > > On 06.05.2018, at 16:25, Marty E. Plummer wrote: > > > > This adds support for the ASUS C201, a RK3288-based clamshell > > device. The device tree comes

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
On Mon, May 07, 2018 at 12:19:11AM +0200, Dr. Philipp Tomsich wrote: > > > On 6 May 2018, at 16:25, Marty E. Plummer wrote: > > > > Taken from coreboot's src/soc/rockchip/rk3288/sdram.c > > > > Without this change, my u-boot build for the asus c201 chromeb

Re: [U-Boot] [PATCH 0/3] add support for the asus C201 chromebook (4GiB)

2018-05-06 Thread Marty E. Plummer
On Sun, May 06, 2018 at 09:25:10AM -0500, Marty E. Plummer wrote: > Build and boot tested on my chromebook, which was generously altered by > Simon Glass to have a servo header and also generously provided a servo > board itself to do debugging with. > > It ''works

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-06 Thread Marty E. Plummer
On Mon, May 07, 2018 at 10:20:55AM +0800, Kever Yang wrote: > Hi Marty, > > > On 05/06/2018 10:25 PM, Marty E. Plummer wrote: > > Taken from coreboot's src/soc/rockchip/rk3288/sdram.c > > > > Without this change, my u-boot build for the asus c201 chromebook (4

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-07 Thread Marty E. Plummer
On Mon, May 07, 2018 at 11:16:28AM +0200, Dr. Philipp Tomsich wrote: > > > On 7 May 2018, at 04:34, Marty E. Plummer wrote: > > > > On Mon, May 07, 2018 at 10:20:55AM +0800, Kever Yang wrote: > >> Hi Marty, > >> > >> > >> On 05/0

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-08 Thread Marty E. Plummer
On Tue, May 08, 2018 at 12:21:24PM +0200, Dr. Philipp Tomsich wrote: > Marty, > > > On 8 May 2018, at 02:52, Marty E. Plummer wrote: > > > > On Mon, May 07, 2018 at 11:16:28AM +0200, Dr. Philipp Tomsich wrote: > >> > >>> On 7 May 2018, at 04:34,

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-08 Thread Marty E. Plummer
On Tue, May 08, 2018 at 11:08:14PM +0200, Dr. Philipp Tomsich wrote: > > > On 8 May 2018, at 21:21, Marty E. Plummer wrote: > > > > On Tue, May 08, 2018 at 12:21:24PM +0200, Dr. Philipp Tomsich wrote: > >> Marty, > >> > >>> On 8 May 2018, at

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-19 Thread Marty E. Plummer
On Mon, May 14, 2018 at 05:56:27PM +0200, Dr. Philipp Tomsich wrote: > I had a bit more time to look into this and it looks as if we have two > problem-spots... > > First, there's a type-mismatch between ram_info.size (a size_t) and > gd.ram_size (phys_size_t). > While we can increase the size o

[U-Boot] [PATCH] rockchip: rk3399: add support for chromebook_kevin

2019-03-07 Thread Marty E. Plummer
### Please RESET the board ### Posting to the lists so someone could perhaps assist Signed-off-by: Marty E. Plummer --- arch/arm/dts/rk3399-gru-kevin.dts | 1 + arch/arm/mach-rockchip/rk3399-board-spl.c | 6 +- arch/arm/mach-rockchip/rk3399/Kconfig | 3 + board/google/

[U-Boot] changes in rk3288 code have made me unable to boot u-boot on veyron speedy

2019-03-08 Thread Marty E. Plummer
Was going to work on getting that usb->uart redirection code from the linux kernel into u-boot for rk3288, like we have for rk3188, but apparently there have been some changes which render chromebook_speedy_defconfig unable to produce a bootable image. Guidance and suggestions welcome. Current chr

Re: [U-Boot] changes in rk3288 code have made me unable to boot u-boot on veyron speedy

2019-03-09 Thread Marty E. Plummer
On Sat, Mar 09, 2019 at 05:43:24PM +0100, Heiko Stuebner wrote: > Hi Marty, > > Am Samstag, 9. März 2019, 08:15:23 CET schrieb Marty E. Plummer: > > Was going to work on getting that usb->uart redirection code from the > > linux kernel into u-boot for rk3288, like