diff mbox

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

Message ID 1416154613-8506-5-git-send-email-hdegoede@redhat.com
State Superseded
Delegated to: Ian Campbell
Headers show

Commit Message

Hans de Goede Nov. 16, 2014, 4:16 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!

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 configs/CSQ_CS908_defconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 configs/CSQ_CS908_defconfig

Comments

Ian Campbell Nov. 17, 2014, 7:03 p.m. UTC | #1
On Sun, 2014-11-16 at 17:16 +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!

What are the implications of that?

> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>
Hans de Goede Nov. 18, 2014, 12:47 p.m. UTC | #2
Hi,

On 11/17/2014 08:03 PM, Ian Campbell wrote:
> On Sun, 2014-11-16 at 17:16 +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!
> 
> What are the implications of that?

That we can only fel-boot it. This is mostly a warning to end users
to avoid this box if they want a box on which they can easily run
Linux.

This does mean I got to use make foo_felconfig, works like a charm :)

Thanks for the reviews.

Regards,

Hans
Ian Campbell Nov. 18, 2014, 2:10 p.m. UTC | #3
On Tue, 2014-11-18 at 13:47 +0100, Hans de Goede wrote:
> Hi,
> 
> On 11/17/2014 08:03 PM, Ian Campbell wrote:
> > On Sun, 2014-11-16 at 17:16 +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!
> > 
> > What are the implications of that?
> 
> That we can only fel-boot it. This is mostly a warning to end users
> to avoid this box if they want a box on which they can easily run
> Linux.

Ah, right. Probably best to end the sentence with "and therefore can
only be fel booted" or something then.

Presumably In The Fullness Of Time(tm) it'll be possible to boot from
NAND too, but lets not muddy those waters here...

> This does mean I got to use make foo_felconfig, works like a charm :)

Oh good ;-)

Ian.
Hans de Goede Nov. 19, 2014, 1:41 p.m. UTC | #4
Hi,

On 11/18/2014 03:10 PM, Ian Campbell wrote:
> On Tue, 2014-11-18 at 13:47 +0100, Hans de Goede wrote:
>> Hi,
>>
>> On 11/17/2014 08:03 PM, Ian Campbell wrote:
>>> On Sun, 2014-11-16 at 17:16 +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!
>>>
>>> What are the implications of that?
>>
>> That we can only fel-boot it. This is mostly a warning to end users
>> to avoid this box if they want a box on which they can easily run
>> Linux.
> 
> Ah, right. Probably best to end the sentence with "and therefore can
> only be fel booted" or something then.

Good idea, I've amended the commit message with this in my personal
tree.

> Presumably In The Fullness Of Time(tm) it'll be possible to boot from
> NAND too, but lets not muddy those waters here...

Hopefully we will eventually support NAND booting, yes.

Regards,

Hans
diff mbox

Patch

diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig
new file mode 100644
index 0000000..024df47
--- /dev/null
+++ b/configs/CSQ_CS908_defconfig
@@ -0,0 +1,16 @@ 
+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
+# 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 usb1
++S:CONFIG_USB1_VBUS_PIN=""