diff mbox

[U-Boot,v2,5/5] sun6i: Add new CSQ_CS908 board

Message ID 1416750195-25318-6-git-send-email-hdegoede@redhat.com
State Accepted
Delegated to: Ian Campbell
Headers show

Commit Message

Hans de Goede Nov. 23, 2014, 1:43 p.m. UTC
The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND,
rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG
controller), ethernet, 3.5 mm jack with a/v out and hdmi out:

http://www.geekbuying.com/item/CS908-Allwinner-A31S-Quad-Core-1-2GHz-Android-4-4-Mini-TV-Box-HDMI-HDD-Player-1G-8G-WIFI-Miracast---Black-333395.html

Note it has no sdcard slot and therefore can only be fel booted.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
---
 configs/CSQ_CS908_defconfig | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 configs/CSQ_CS908_defconfig

Comments

Ian Campbell Dec. 14, 2014, 2:57 p.m. UTC | #1
On Sun, 2014-11-23 at 14:43 +0100, Hans de Goede wrote:
> The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND,
> rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG
> controller), ethernet, 3.5 mm jack with a/v out and hdmi out:
> 
> http://www.geekbuying.com/item/CS908-Allwinner-A31S-Quad-Core-1-2GHz-Android-4-4-Mini-TV-Box-HDMI-HDD-Player-1G-8G-WIFI-Miracast---Black-333395.html
> 
> Note it has no sdcard slot and therefore can only be fel booted.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> Acked-by: Ian Campbell <ijc@hellion.org.uk>
> ---
>  configs/CSQ_CS908_defconfig | 19 +++++++++++++++++++

Apparently I'm terrible at remembering this during review: this is
missing a MAINTAINERS entry. (MAKEALL warns about this when regenerating
boards.cfg).

Since this patch is only in u-boot-sunxi#next so far do you just want to
fold in an update to add it to your stanza (or add a new appropriate
stanza) and force push? Ack to that plan if you do.

FYI I've just force pushed a similar change adding Chen-Yu's entry to
the Hummingbird A31.

Ian.
Hans de Goede Dec. 18, 2014, 10:39 a.m. UTC | #2
Hi,

On 14-12-14 15:57, Ian Campbell wrote:
> On Sun, 2014-11-23 at 14:43 +0100, Hans de Goede wrote:
>> The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND,
>> rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG
>> controller), ethernet, 3.5 mm jack with a/v out and hdmi out:
>>
>> http://www.geekbuying.com/item/CS908-Allwinner-A31S-Quad-Core-1-2GHz-Android-4-4-Mini-TV-Box-HDMI-HDD-Player-1G-8G-WIFI-Miracast---Black-333395.html
>>
>> Note it has no sdcard slot and therefore can only be fel booted.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> Acked-by: Ian Campbell <ijc@hellion.org.uk>
>> ---
>>   configs/CSQ_CS908_defconfig | 19 +++++++++++++++++++
>
> Apparently I'm terrible at remembering this during review: this is
> missing a MAINTAINERS entry. (MAKEALL warns about this when regenerating
> boards.cfg).

Yeah, I'm bad at remembering to update MAINTAINERS too...

> Since this patch is only in u-boot-sunxi#next so far do you just want to
> fold in an update to add it to your stanza (or add a new appropriate
> stanza) and force push? Ack to that plan if you do.

Done (fixed, forced-push).

I've also fixed the same problem for the new Ippo_q8h_v1.2_defconfig in
my sun8i spl / draminit set in my personal tree.

Regards,

Hans
Ian Campbell Dec. 18, 2014, 6:56 p.m. UTC | #3
On Thu, 2014-12-18 at 11:39 +0100, Hans de Goede wrote:
> Hi,
> 
> On 14-12-14 15:57, Ian Campbell wrote:
> > On Sun, 2014-11-23 at 14:43 +0100, Hans de Goede wrote:
> >> The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND,
> >> rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG
> >> controller), ethernet, 3.5 mm jack with a/v out and hdmi out:
> >>
> >> http://www.geekbuying.com/item/CS908-Allwinner-A31S-Quad-Core-1-2GHz-Android-4-4-Mini-TV-Box-HDMI-HDD-Player-1G-8G-WIFI-Miracast---Black-333395.html
> >>
> >> Note it has no sdcard slot and therefore can only be fel booted.
> >>
> >> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> >> Acked-by: Ian Campbell <ijc@hellion.org.uk>
> >> ---
> >>   configs/CSQ_CS908_defconfig | 19 +++++++++++++++++++
> >
> > Apparently I'm terrible at remembering this during review: this is
> > missing a MAINTAINERS entry. (MAKEALL warns about this when regenerating
> > boards.cfg).
> 
> Yeah, I'm bad at remembering to update MAINTAINERS too...
> 
> > Since this patch is only in u-boot-sunxi#next so far do you just want to
> > fold in an update to add it to your stanza (or add a new appropriate
> > stanza) and force push? Ack to that plan if you do.
> 
> Done (fixed, forced-push).

Thanks.

> I've also fixed the same problem for the new Ippo_q8h_v1.2_defconfig in
> my sun8i spl / draminit set in my personal tree.

Great, that's one less to forget then!

Ian.
diff mbox

Patch

diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig
new file mode 100644
index 0000000..18fe1f3
--- /dev/null
+++ b/configs/CSQ_CS908_defconfig
@@ -0,0 +1,19 @@ 
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI"
+CONFIG_FDTFILE="sun6i-a31s-cs908.dtb"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN6I=y
++S:CONFIG_TARGET_CSQ_CS908=y
++S:CONFIG_DRAM_CLK=432
++S:CONFIG_DRAM_ZQ=123
+# Ethernet phy power
++S:CONFIG_AXP221_DLDO1_VOLT=3300
+# Wifi power
++S:CONFIG_AXP221_ALDO1_VOLT=3300
+# HDMI power ?
++S:CONFIG_AXP221_ALDO2_VOLT=1800
++S:CONFIG_AXP221_ALDO3_VOLT=3000
+# No Vbus gpio for either usb
++S:CONFIG_USB1_VBUS_PIN=""
++S:CONFIG_USB2_VBUS_PIN=""