* support of rockchip nanopiM4 2GB board
@ 2020-04-23 11:07 Deepak Das
2020-04-23 11:29 ` Jagan Teki
0 siblings, 1 reply; 4+ messages in thread
From: Deepak Das @ 2020-04-23 11:07 UTC (permalink / raw)
To: u-boot
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 <jagan@amarulasolutions.com>
+ */
+
+#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
^ permalink raw reply [flat|nested] 4+ messages in thread
* support of rockchip nanopiM4 2GB board
2020-04-23 11:07 support of rockchip nanopiM4 2GB board Deepak Das
@ 2020-04-23 11:29 ` Jagan Teki
2020-04-24 10:15 ` Kever Yang
0 siblings, 1 reply; 4+ messages in thread
From: Jagan Teki @ 2020-04-23 11:29 UTC (permalink / raw)
To: u-boot
On Thu, Apr 23, 2020 at 4:37 PM Deepak Das <deepakdas.linux@gmail.com> wrote:
>
> 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 <jagan@amarulasolutions.com>
> + */
> +
> +#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?
Possible approach is to check the chip type and vendor during probe
and source the respective .dtsi
YouMin and Kever, any ideas?
Jagan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* support of rockchip nanopiM4 2GB board
2020-04-23 11:29 ` Jagan Teki
@ 2020-04-24 10:15 ` Kever Yang
2020-04-24 18:00 ` Deepak Das
0 siblings, 1 reply; 4+ messages in thread
From: Kever Yang @ 2020-04-24 10:15 UTC (permalink / raw)
To: u-boot
Hi Deepak, Jagan,
On 2020/4/23 ??7:29, Jagan Teki wrote:
> On Thu, Apr 23, 2020 at 4:37 PM Deepak Das <deepakdas.linux@gmail.com> wrote:
>> 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 <jagan@amarulasolutions.com>
>> + */
>> +
>> +#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?
> 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
>
> Jagan.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* support of rockchip nanopiM4 2GB board
2020-04-24 10:15 ` Kever Yang
@ 2020-04-24 18:00 ` Deepak Das
0 siblings, 0 replies; 4+ messages in thread
From: Deepak Das @ 2020-04-24 18:00 UTC (permalink / raw)
To: u-boot
Hi Kever,
On 24/04/20 3:45 pm, Kever Yang wrote:
> Hi Deepak, Jagan,
>
> On 2020/4/23 ??7:29, Jagan Teki wrote:
>> On Thu, Apr 23, 2020 at 4:37 PM Deepak Das <deepakdas.linux@gmail.com> wrote:
>>> 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 <jagan@amarulasolutions.com>
>>> + */
>>> +
>>> +#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?
>> 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.
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.
>
> 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
>
> Thanks,
>
> - Kever
>
>
>>
>> Jagan.
>>
>>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-24 18:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 11:07 support of rockchip nanopiM4 2GB board Deepak Das
2020-04-23 11:29 ` Jagan Teki
2020-04-24 10:15 ` Kever Yang
2020-04-24 18:00 ` Deepak Das
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox