mbox series

[0/4] arm64: Add initial Actions Semi S700 and CubieBoard7 support

Message ID 20170911022241.11603-1-afaerber@suse.de
Headers show
Series arm64: Add initial Actions Semi S700 and CubieBoard7 support | expand

Message

Andreas Färber Sept. 11, 2017, 2:22 a.m. UTC
Hello,

This series prepares the Actions Semi S700 SoC and Cubietech CubieBoard7.
It boots equally far as the S900 based Bubblegum-96 these patches are based on,
i.e. into an initrd with serial and all four cores up.

I have not yet managed to download the CubieBoard7 sources from Baidu, and the
Mega download has not yet been fixed, so this is based on the S700 datasheet
and /proc/device-tree/ from the preinstalled Android.

Lacking sources and instructions to replace the bootloader on eMMC or to try
booting from SD, the only working way I've found to boot mainline kernels
appears to be booting into Android, then issuing "reboot bootloader". U-Boot
is lacking the saveenv command, so it wasn't possible to change the bootdelay
to facilitate this.

Cf. https://en.opensuse.org/HCL:CubieBoard7

Work branch:
https://github.com/afaerber/linux/commits/bg96-next

Have a lot of fun!

Cheers,
Andreas

Cc: Ahha Lee <lee@cubietech.com>
Cc: support@cubietech.com

Cc: devicetree@vger.kernel.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>

Andreas Färber (4):
  dt-bindings: arm: actions: Add S700 and CubieBoard7
  dt-bindings: timer: Add Actions Semi S700
  clocksource: owl: Prepare S700
  arm64: dts: actions: Add S700 and CubieBoard7

 Documentation/devicetree/bindings/arm/actions.txt  |  15 ++
 .../bindings/timer/actions,owl-timer.txt           |   1 +
 arch/arm64/boot/dts/actions/Makefile               |   2 +
 arch/arm64/boot/dts/actions/s700-cubieboard7.dts   |  47 ++++++
 arch/arm64/boot/dts/actions/s700.dtsi              | 164 +++++++++++++++++++++
 drivers/clocksource/owl-timer.c                    |   1 +
 6 files changed, 230 insertions(+)
 create mode 100644 arch/arm64/boot/dts/actions/s700-cubieboard7.dts
 create mode 100644 arch/arm64/boot/dts/actions/s700.dtsi

Comments

Daniel Lezcano Sept. 18, 2017, 9:50 p.m. UTC | #1
Hi Andreas,


On 11/09/2017 04:22, Andreas Färber wrote:
> Hello,
> 
> This series prepares the Actions Semi S700 SoC and Cubietech CubieBoard7.
> It boots equally far as the S900 based Bubblegum-96 these patches are based on,
> i.e. into an initrd with serial and all four cores up.
> 
> I have not yet managed to download the CubieBoard7 sources from Baidu, and the
> Mega download has not yet been fixed, so this is based on the S700 datasheet
> and /proc/device-tree/ from the preinstalled Android.
> 
> Lacking sources and instructions to replace the bootloader on eMMC or to try
> booting from SD, the only working way I've found to boot mainline kernels
> appears to be booting into Android, then issuing "reboot bootloader". U-Boot
> is lacking the saveenv command, so it wasn't possible to change the bootdelay
> to facilitate this.
> 
> Cf. https://en.opensuse.org/HCL:CubieBoard7
> 
> Work branch:
> https://github.com/afaerber/linux/commits/bg96-next
> 
> Have a lot of fun!
> 
> Cheers,
> Andreas
> 
> Cc: Ahha Lee <lee@cubietech.com>
> Cc: support@cubietech.com
> 
> Cc: devicetree@vger.kernel.org
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> 
> Andreas Färber (4):
>   dt-bindings: arm: actions: Add S700 and CubieBoard7
>   dt-bindings: timer: Add Actions Semi S700
>   clocksource: owl: Prepare S700
>   arm64: dts: actions: Add S700 and CubieBoard7
> 
>  Documentation/devicetree/bindings/arm/actions.txt  |  15 ++
>  .../bindings/timer/actions,owl-timer.txt           |   1 +

Usually sub system maintainers are also Cc'ed with Dt bindings
definitions and usage.

>  arch/arm64/boot/dts/actions/Makefile               |   2 +
>  arch/arm64/boot/dts/actions/s700-cubieboard7.dts   |  47 ++++++
>  arch/arm64/boot/dts/actions/s700.dtsi              | 164 +++++++++++++++++++++
>  drivers/clocksource/owl-timer.c                    |   1 +
>  6 files changed, 230 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/actions/s700-cubieboard7.dts
>  create mode 100644 arch/arm64/boot/dts/actions/s700.dtsi
>
Andreas Färber Sept. 19, 2017, 5:08 a.m. UTC | #2
Hi Daniel,

Am 18.09.2017 um 23:50 schrieb Daniel Lezcano:
> On 11/09/2017 04:22, Andreas Färber wrote:
>> Cc: devicetree@vger.kernel.org
>> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>
>> Andreas Färber (4):
>>   dt-bindings: arm: actions: Add S700 and CubieBoard7
>>   dt-bindings: timer: Add Actions Semi S700
>>   clocksource: owl: Prepare S700
>>   arm64: dts: actions: Add S700 and CubieBoard7
>>
>>  Documentation/devicetree/bindings/arm/actions.txt  |  15 ++
>>  .../bindings/timer/actions,owl-timer.txt           |   1 +
> 
> Usually sub system maintainers are also Cc'ed with Dt bindings
> definitions and usage.

Your MAINTAINERS entry is lacking an entry for the bindings. Can you
please fix that in linux-next? Then the next patches should reach you.

Actually I'm even surprised that it works for the drivers - I would
expect a trailing "/" for the directory (see line 95ff).

Regards,
Andreas
Daniel Lezcano Sept. 19, 2017, 5:37 a.m. UTC | #3
On 19/09/2017 07:08, Andreas Färber wrote:
> Hi Daniel,
> 
> Am 18.09.2017 um 23:50 schrieb Daniel Lezcano:
>> On 11/09/2017 04:22, Andreas Färber wrote:
>>> Cc: devicetree@vger.kernel.org
>>> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>>
>>> Andreas Färber (4):
>>>   dt-bindings: arm: actions: Add S700 and CubieBoard7
>>>   dt-bindings: timer: Add Actions Semi S700
>>>   clocksource: owl: Prepare S700
>>>   arm64: dts: actions: Add S700 and CubieBoard7
>>>
>>>  Documentation/devicetree/bindings/arm/actions.txt  |  15 ++
>>>  .../bindings/timer/actions,owl-timer.txt           |   1 +
>>
>> Usually sub system maintainers are also Cc'ed with Dt bindings
>> definitions and usage.
> 
> Your MAINTAINERS entry is lacking an entry for the bindings. Can you
> please fix that in linux-next? Then the next patches should reach you.
> 
> Actually I'm even surprised that it works for the drivers - I would
> expect a trailing "/" for the directory (see line 95ff).

Right, thanks for pointing this out, I will fix it.

  -- Daniel
Daniel Lezcano Sept. 19, 2017, 6:12 a.m. UTC | #4
On 19/09/2017 07:08, Andreas Färber wrote:
> Hi Daniel,
> 
> Am 18.09.2017 um 23:50 schrieb Daniel Lezcano:
>> On 11/09/2017 04:22, Andreas Färber wrote:
>>> Cc: devicetree@vger.kernel.org
>>> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>>
>>> Andreas Färber (4):
>>>   dt-bindings: arm: actions: Add S700 and CubieBoard7
>>>   dt-bindings: timer: Add Actions Semi S700
>>>   clocksource: owl: Prepare S700
>>>   arm64: dts: actions: Add S700 and CubieBoard7
>>>
>>>  Documentation/devicetree/bindings/arm/actions.txt  |  15 ++
>>>  .../bindings/timer/actions,owl-timer.txt           |   1 +
>>
>> Usually sub system maintainers are also Cc'ed with Dt bindings
>> definitions and usage.
> 
> Your MAINTAINERS entry is lacking an entry for the bindings. Can you
> please fix that in linux-next? Then the next patches should reach you.
> 
> Actually I'm even surprised that it works for the drivers - I would
> expect a trailing "/" for the directory (see line 95ff).

Done.

https://git.linaro.org/people/daniel.lezcano/linux.git/commit/?h=clockevents/next&id=acdbb48efecb03bc5a6e8e82447208fdd342eb89

Should hit linux-next soon.