Re: [PATCH 2/2] ARM: dts: add TOPEET itop elite based board

From: Ayaka
Date: Wed Aug 24 2016 - 04:56:42 EST




從我的 iPad 傳送

> Rob Herring <robh@xxxxxxxxxx> 於 2016年8月24日 上午6:38 寫道:
>
>> On Tue, Aug 23, 2016 at 1:36 PM, ayaka <ayaka@xxxxxxxxxxx> wrote:
>>
>>> On 08/24/2016 02:14 AM, Rob Herring wrote:
>>>
>>>> On Mon, Aug 22, 2016 at 10:18:09PM +0800, Randy Li wrote:
>>>>
>>>> The TOPEET itop exynos 4412 have three versions base board. The
>>>> Elite version is the cheap one without too much peripheral devices
>>>> on it.
>>>>
>>>> Currently supported are serial console, wired networking(USB),
>>>> USB OTG in peripheral mode, USB host, SD storage, GPIO buttons,
>>>> PWM beeper, ADC and LEDs.
>
> [...]
>
>>>> +/dts-v1/;
>>>> +#include "exynos4412-itop-scp-core.dtsi"
>>>> +
>>>> +/ {
>>>> + model = "TOPEET iTop 4412 Elite board based on Exynos4412";
>>>> + compatible = "topeet,itop4412-elite", "samsung,exynos4412",
>>>> "samsung,exynos4";
>>>> +
>>>> + chosen {
>>>> + bootargs ="console=ttySAC2,115200";
>>>
>>> Don't need console set with...
>>
>> But could I set something like rootfs here ?
>> As the bootloader(old u-boot) offered by the vendor is brick, it is
>> impossible to save any something in u-boot.
>
> Yes, but then that is a user decision and shouldn't really be there
> either. In other words, ether the bootloader should set bootargs
> (which even a vendor u-boot should be able to do either directly or
> the zImage can take it from the ATAGS)
Yes, but you have to break the auto boot every time. I want to write a new u-boot for it, but I meet some problem with JTAG, it won't come soon.
> or a user can edit the dts and
> carry that change.
>
> However, there are probably plenty of examples in the kernel that
> counter what I just said.
I see than you. May I ask if I specific the rootfs bootargs of in dts, should you accept such patch?
>
> Rob