[U-Boot] [RESEND PATCH v7 00/11] rockchip: Add new rk3399 boards

2019-05-07 Thread Jagan Teki
(Sorry for the noice, I have missed to send two patches from v7) This is v7 resend patchset for New rk3399 boards support wrt previous version[1] Unfortunately initial version of creating rk3399-u-boot.dtsi and orangepi rk3399 changes are merged, so this is rework on top of

[U-Boot] [RESEND PATCH v7 04/11] rockchip: dts: rk3399: Sync rk3399-nanopi4.dtsi from Linux

2019-05-07 Thread Jagan Teki
Sync rk3399-nanopi4.dtsi from Linux 5.1-rc2 tag. Linux commit details about the rk3399-nanopi4.dtsi sync: "arm64: dts: rockchip: Add nanopi4 bluetooth" (sha1: 3e2f0bb72be36aa6c14ee7f11ac4dd8014801030) Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski Reviewed-by: Kever Yang ---

[U-Boot] [RESEND PATCH v7 01/11] rockchip: dts: rk3399: Sync pwm2_pin_pull_down from Linux 5.1-rc2

2019-05-07 Thread Jagan Teki
To make successful build with dts(i) files syncing from Linux 5.1-rc2 the rk3399.dtsi would require pwm2_pin_pull_down. So, sync the pwm2_pin_pull_down node from Linux 5.1-rc2. Since this node is strictly not part of any commit alone, I have mentioned Linux 5.1-rc2 tag for future reference of

[U-Boot] [RESEND PATCH v7 10/11] rockchip: rk3399: Add Rock PI 4 support

2019-05-07 Thread Jagan Teki
Add initial support for Rock PI 4 board. Specification - Rockchip RK3399 - LPDDR4 - eMMC - SD card slot - RTL8211E 1Gbps - HDMI In/Out, DP, MIPI DSI/CSI - PCIe M.2 - USB 2.0, USB-3.0 - USB C Type Commit details of rk3399-rock-pi-4.dts sync from Linux 5.1-rc2: "arm64: dts: rockchip: add ROCK Pi 4

Re: [U-Boot] [PATCH v7 07/11] rockchip: rk3399: Add Nanopc T4 board support

2019-05-07 Thread Kever Yang
On 05/08/2019 02:36 AM, Jagan Teki wrote: > Add initial support for Nanopc T4 board. > > Specification > - Rockchip RK3399 > - Dual-Channel 4GB LPDDR3-1866 > - SD card slot > - 16GB eMMC > - RTL8211E 1Gbps > - AP6356S WiFI/BT > - HDMI In/Out, DP, MIPI DSI/CSI, eDP > - USB 3.0, 2.0 > - USB Type C

Re: [U-Boot] [PATCH] configs: stratix10: Enable CONFIG_SPI_FLASH_USE_4K_SECTORS

2019-05-07 Thread Marek Vasut
On 5/8/19 5:07 AM, Ley Foon Tan wrote: > Fix SPI flash environment erase size error. > > CONFIG_ENV_SECT_SIZE is set to 4KB. Enable CONFIG_SPI_FLASH_USE_4K_SECTORS > to allow erase one environment sector. > > Fix error below: > > SOCFPGA_STRATIX10 # saveenv > Saving Environment to SPI Flash...

Re: [U-Boot] [PATCH] ARM: socfpga: Fix FPGA bitstream loading code

2019-05-07 Thread Chee, Tien Fong
On Tue, 2019-05-07 at 21:44 +0200, Marek Vasut wrote: > On 5/7/19 9:43 PM, Simon Goldschmidt wrote: > > > > > > > > On 07.05.19 21:41, Marek Vasut wrote: > > > > > > On 5/7/19 9:36 PM, Simon Goldschmidt wrote: > > > > > > > > > > > > > > > > On 07.05.19 21:19, Marek Vasut wrote: > > > > >

Re: [U-Boot] [PATCH 00/13] System Firmware Loader for TI K3 family SoCs

2019-05-07 Thread Chee, Tien Fong
On Tue, 2019-05-07 at 22:00 +0200, Simon Goldschmidt wrote: > > On 07.05.19 19:25, Andreas Dannenberg wrote: > > [...] > > > > While I also have a working solution based on the existing FS > > loader > > framework this has its own challenges, namely by its very nature > > only > > addressing a

Re: [U-Boot] [PATCH] bouncebuf: add feature to support buffer only available in DRAM

2019-05-07 Thread Peng Fan
Hi Kever, > Subject: [PATCH] bouncebuf: add feature to support buffer only available in > DRAM > > Some DMA which inside peripheral controller can only access space in DRAM > area, the target address outside DRAM is not available. > eg. Rockchip MMC contrller's internal DMA can only access DRAM

[U-Boot] [RESEND PATCH v7 08/11] rockchip: rk3399: Add Nanopi NEO4 board support

2019-05-07 Thread Jagan Teki
Add initial support for Nanopi NEO4 board. Specification - Rockchip RK3399 - 1GB DDR3-1866 - SD card slot - eMMC Socket - RTL8211E 1Gbps - AP6212 WiFI/BT - HDMI In/Out, DP, MIPI CSI - USB 3.0, 2.0 - USB Type C power and data - GPIO expansion ports - DC 5V/3A Commit details of

[U-Boot] [RESEND PATCH v7 11/11] doc: rockchip: Add global doc for rk3399 build/flash

2019-05-07 Thread Jagan Teki
Since rockchip have an individual doc/README.rockchip, it would be better to update the same instead of maintaining it separately in board files. So, add the documentation for rk3399 - procedure to build for Rockchip miniloader and U-Boot SPL options - procedure to boot from SD for Rockchip

[U-Boot] [RESEND PATCH v7 03/11] arm: rockchip: rk3399: Move common configs in Kconfig

2019-05-07 Thread Jagan Teki
Few SPL and U-Boot proper configs are common to all rk3399 target defconfigs, move them and select it from platform kconfig. Moved configs: - SPL_ATF - SPL_ATF_NO_PLATFORM_PARAM if SPL_ATF - SPL_LOAD_FIT - SPL_CLK if SPL - SPL_PINCTRL if SPL - SPL_RAM if SPL - SPL_REGMAP if SPL -

[U-Boot] [RESEND PATCH v7 05/11] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

2019-05-07 Thread Jagan Teki
sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and indeed failed to detect the sdcard on the board with below error Card did not respond to voltage select! So, fix it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in rk3399.dts so make use of same like other

[U-Boot] [RESEND PATCH v7 06/11] rockchip: rk3399: Add Nanopi M4 board support

2019-05-07 Thread Jagan Teki
Add initial support for Nanopi M4 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR3-1866 - SD card slot - eMMC socket - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI - USB 3.0 x4 - USB Type C power and data - GPIO1, GPIO2 expansion ports - DC5V/3A Commit details

[U-Boot] [RESEND PATCH v7 09/11] rockchip: rk3399: Add Rockpro64 board support

2019-05-07 Thread Jagan Teki
Add initial support for Rockpro64 board. Specification - Rockchip RK3399 - 2/4GB Dual-Channel LPDDR3 - SD card slot - eMMC socket - 128Mb SPI Flash - Gigabit ethernet - PCIe 4X slot - WiFI/BT module socket - HDMI In/Out, DP, MIPI DSI/CSI, eDP - USB 3.0, 2.0 - USB Type C power and data - GPIO

[U-Boot] [RESEND PATCH v7 07/11] rockchip: rk3399: Add Nanopc T4 board support

2019-05-07 Thread Jagan Teki
Add initial support for Nanopc T4 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR3-1866 - SD card slot - 16GB eMMC - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI, eDP - USB 3.0, 2.0 - USB Type C power and data - GPIO expansion ports - DC 12V/2A Commit details

Re: [U-Boot] [PATCH v2 1/1] efi_loader: unload applications upon Exit()

2019-05-07 Thread Heinrich Schuchardt
On 5/8/19 3:08 AM, Takahiro Akashi wrote: On Wed, May 08, 2019 at 02:59:08AM +0200, Heinrich Schuchardt wrote: On 5/8/19 1:59 AM, Takahiro Akashi wrote: On Tue, May 07, 2019 at 09:13:24PM +0200, Heinrich Schuchardt wrote: Implement unloading of images in the Exit() boot services: * unload

[U-Boot] [RESEND PATCH v7 02/11] Kconfig: Add default SPL_FIT_GENERATOR for rockchip

2019-05-07 Thread Jagan Teki
Add default SPL_FIT_GENERATOR py script for rockchip platforms if specific target enabled SPL_LOAD_FIT. So, this would help get rid of explicitly mentioning the default SPL FIT generator in defconfigs. however some targets, like puma_rk3399 still require their own FIT generator so in those cases

<    1   2   3   4