Skip to contentSkip to conversation

support of rockchip nanopiM4 2GB board

DISCUSSION Deepak Das 3 participants 4 messages Apr 23, 2020 – Apr 24, 2020

lore
Share & tools
lore

Deepak Das

author
#0 lore raw

Hi Jagan,

upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board by using ddr3 configuration.

+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <[email protected]>
+ */
+
+#include "rk3399-nanopi4-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
+
+/* #include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" */

how to handle this situation? do we need to treat this as a new board support?

regards,
Deepak

#1 lore raw
Quoted 17 lines · Deepak Das

Hi Jagan,

upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board by using ddr3 configuration.

(quoted diff) +9 -0
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <[email protected]>
+ */
+
+#include "rk3399-nanopi4-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
+
+/* #include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" */
Quoted 2 lines

how to handle this situation? do we need to treat this as a new board support?

Possible approach is to check the chip type and vendor during probe and source the respective .dtsi

YouMin and Kever, any ideas?

Jagan.

#2 lore raw

Hi Deepak, Jagan,

Quoted 17 lines · Jagan Teki
Quoted 16 lines · Deepak Das

Hi Jagan,

upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board by using ddr3 configuration.

(quoted diff) +9 -0
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <[email protected]>
+ */
+
+#include "rk3399-nanopi4-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
+
+/* #include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" */
Quoted 6 lines
Quoted 2 lines

how to handle this situation? do we need to treat this as a new board support?

Possible approach is to check the chip type and vendor during probe and source the respective .dtsi

YouMin and Kever, any ideas?

We can auto detect the different capacity for the same DRAM type, but if the dram type

is not the same, it usually treat as different boards.

And this is the first time for a board use two different type DRAM, does both type of nanopi M4

with DDR3 and LPDDR3 are available on the market, or maybe one of them is internal version?

Thanks,

- Kever

Quoted 4 lines

Jagan.

author
#3 lore raw

Hi Kever,

Quoted 25 lines · Kever Yang

Hi Deepak, Jagan,

Quoted 22 lines · Jagan Teki
Quoted 16 lines · Deepak Das

Hi Jagan,

upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board by using ddr3 configuration.

(quoted diff) +9 -0
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <[email protected]>
+ */
+
+#include "rk3399-nanopi4-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
+
+/* #include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" */
Quoted 2 lines

how to handle this situation? do we need to treat this as a new board support?

Possible approach is to check the chip type and vendor during probe and source the respective .dtsi

Quoted 6 lines
Quoted 1 line

YouMin and Kever, any? ideas?

We can auto detect the different capacity for the same DRAM type, but if the dram type

is not the same, it usually treat as different boards.

I don't see any other difference in these two board versions apart from DRAM type. I will drop a patch to add support of this board after some basic testing.

Quoted 5 lines

And this is the first time for a board use two different type DRAM, does both type of nanopi M4

with DDR3 and LPDDR3 are available on the market, or maybe one of them is internal version?

yes, both are available at amazon.

https://www.amazon.com/FriendlyARM-Rockchip-Dual-Band-Support-Learning/dp/B07GXNK8M1

https://www.amazon.com/FriendlyARM-Rockchip-Dual-Band-Support-Learning/dp/B07H9S92X6

regards,

Deepak

Quoted 12 lines

Thanks,

- Kever

Quoted 4 lines

Jagan.