how to build an linux image for A31S

1,034 views
Skip to first unread message

li

unread,
Mar 5, 2015, 10:49:45 PM3/5/15
to linux...@googlegroups.com
Hi all,
 
I want to use debian or linaro on A31s, but i don't know how to get one, and it seems that the forum only support A10, A20, and A80,
I am realy appreciated if you can provide any suggestion, thank you.
 
Best Regards,
stone


Siarhei Siamashka

unread,
Mar 5, 2015, 11:21:44 PM3/5/15
to linux...@googlegroups.com, lijia...@163.com
Hi,

On Fri, 6 Mar 2015 11:48:50 +0800 (CST)
li <lijia...@163.com> wrote:

> Hi all,
>
> I want to use debian or linaro on A31s, but i don't know how to
> get one,

First of all, you can check if your device already has a page at
the linux-sunxi wiki:
http://linux-sunxi.org/Category:Devices

If yes, then you can find further instructions there and more details
about the mainline u-boot and the mainline kernel support for it. The
core A31s SoC features are already supported, but different devices
may have different configurations for the peripherals.

If there is no device page for your device, then you are encouraged
to create one. There is a basic instruction and a checklist for the
things to do:
http://linux-sunxi.org/New_Device_howto

For installing Debian on a few supported Allwinner devices, you
can check
https://wiki.debian.org/InstallingDebianOn/Allwinner

But if the device is not fully supported yet, then the whole process
of installation in some way resembles the
http://en.wikipedia.org/wiki/Ready-to-assemble_furniture
Which means that you may need to be ready to compile the u-boot
bootloader and the kernel yourself and then unpack the rootfs
with the distribution of your choice (the necessary instructions
are available in the linux-sunxi wiki).

> and it seems that the forum only support A10, A20, and A80,

Some A31(s) devices are already supported. But A80 is not quite at
that level yet.

> I am realy appreciated if you can provide any suggestion, thank you.

Hope this helped.

--
Best regards,
Siarhei Siamashka

li

unread,
Mar 6, 2015, 1:08:35 AM3/6/15
to linux...@googlegroups.com

Hi Siarhei Siamashka,
 
Thank you very much for your help, I think i have to compile the u-boot bootloader and the kernel by myself.
but it seems that https://github.com/linux-sunxi/linux-sunxi dosen't have branch for A31S.
Thanks,
stone

>Which means that you may need to be ready to compile the u-boot
>bootloader and the kernel yourself and then unpack the rootfs
>with the distribution of your choice (the necessary instructions
>are available in the linux-sunxi wiki). 
>
>> and it seems that the forum only support A10, A20, and A80,
>
>Some A31(s) devices are already supported. But A80 is not quite at
>that level yet.
>
>> I am realy appreciated if you can provide any suggestion, thank you.
>
>Hope this helped.
>
>-- 
>Best regards,
>Siarhei Siamashka
>
>-- 
>You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.


pere canadell

unread,
Mar 6, 2015, 7:34:53 AM3/6/15
to linux...@googlegroups.com
Hi lijiamin036, as Siarhei said,

first, what device or model is?

https://github.com/linux-sunxi/linux-sunxi is  3.4 linux kernel, I think that there isn't a a31s support in this branch, only mainline and uboot mainline or
linux-sunxi-next that is the dev branch supports a31 or a31s, I think.

as said, if you search at wiki and your device isn't here it would be great to create a wiki page for your device and fill useful information ,
as other people or devs  then can check your device and is more easy to know what missing or for future people who are searching for the same,
and if you mess anything in future you can recover your fex configuration file from the repos, or it could be more easy to convert your fex to dts for use in mainline kernels.

http://linux-sunxi.org/New_Device_howto.
is a good start if your device isn't at wiki.

regards ;)

pere canadell

unread,
Mar 6, 2015, 7:49:14 AM3/6/15
to linux...@googlegroups.com
here you can  check also the amazing developers effort in support of allwinner chips a1x/a2x/a3x/a8x series

li

unread,
Mar 8, 2015, 10:57:44 PM3/8/15
to linux...@googlegroups.com
Hi pere canadell,

the device is http://linux-sunxi.org/VidOn_Box, but i can't find the image for it.
Best Regards,
stone

Code Kipper

unread,
Mar 9, 2015, 1:29:01 AM3/9/15
to linux-sunxi
On 9 March 2015 at 03:56, li <lijia...@163.com> wrote:
> Hi pere canadell,
>
> the device is http://linux-sunxi.org/VidOn_Box, but i can't find the image
> for it.
> Best Regards,
> stone
Hi Stone
I don't think you'll have any chance of getting anything other than VidOn's
firmware onto this device without doing some serious hardware modifications.
There is no sdcard to boot from or OTG to get the device into fel mode.
I have this hardware and I'm still trying to find a way to get it to boot into
fel mode. For now only serial debug is possible.
BR,
CK

Quink

unread,
Mar 9, 2015, 2:41:18 AM3/9/15
to linux-sunxi
If the serial port is usable, maybe you can boot into fel mode by press '2' in serial
terminal and then power on the device.

Code Kipper

unread,
Mar 9, 2015, 3:01:39 AM3/9/15
to linux-sunxi
On 9 March 2015 at 07:41, Quink <want...@gmail.com> wrote:
> If the serial port is usable, maybe you can boot into fel mode by press '2'
> in serial
> terminal and then power on the device.
I've tried connecting just a USB-A<->USB-A to the board to see if it
powers up but
it didn't and as I'm quite keen to keep this for now as an Android box
I didn't investigate
any further.
I do have a USB-A cable somewhere that just has the data lines
connected so I can
try with this and the unit's PSU.
CK

Code Kipper

unread,
Mar 9, 2015, 12:30:38 PM3/9/15
to linux-sunxi
On 9 March 2015 at 08:01, Code Kipper <codek...@gmail.com> wrote:
> On 9 March 2015 at 07:41, Quink <want...@gmail.com> wrote:
>> If the serial port is usable, maybe you can boot into fel mode by press '2'
>> in serial
>> terminal and then power on the device.
> I've tried connecting just a USB-A<->USB-A to the board to see if it
> powers up but
> it didn't and as I'm quite keen to keep this for now as an Android box
> I didn't investigate
> any further.
> I do have a USB-A cable somewhere that just has the data lines
> connected so I can
> try with this and the unit's PSU.
Just to update, I can get the board into fel mode by pressing '2' on
powerup but I can't seem to detect the fel device on the usb.
CK

Phil

unread,
Jan 24, 2018, 12:44:47 PM1/24/18
to linux-sunxi
Hi CodeKipper,

I know that this thread is old but I'll take a chance.

I have an old VidOn Box that is collecting dust in my closet.

I want to use it again and install linux and wipe completely Android.

I was able to root my box a while ago and it is still rooted. Does it have any values since its rooted if you need info on how to enable FEL mode?

I don't have many spare time but I'm willing to help.

Code Kipper

unread,
Jan 24, 2018, 12:58:55 PM1/24/18
to philippe....@gmail.com, linux-sunxi
On 24 January 2018 at 18:18, Phil <philippe....@gmail.com> wrote:
> Hi CodeKipper,
>
> I know that this thread is old but I'll take a chance.
>
> I have an old VidOn Box that is collecting dust in my closet.
>
> I want to use it again and install linux and wipe completely Android.
>
> I was able to root my box a while ago and it is still rooted. Does it have
> any values since its rooted if you need info on how to enable FEL mode?
>
> I don't have many spare time but I'm willing to help.
Hi Philippe,
this is on my todo lists to play with(but close to the bottom)....I
think the easiest thing to do would be to solder a sdcard holder onto
the exposed PCB mounts and boot from that. If you can get it into FEL
mode using the uart connection then that would be a start.
BR,
CK

>
> On Monday, March 9, 2015 at 1:29:01 AM UTC-4, CodeKipper wrote:
>>
>> On 9 March 2015 at 03:56, li <lijia...@163.com> wrote:
>> > Hi pere canadell,
>> >
>> > the device is http://linux-sunxi.org/VidOn_Box, but i can't find the
>> > image
>> > for it.
>> > Best Regards,
>> > stone
>> Hi Stone
>> I don't think you'll have any chance of getting anything other than
>> VidOn's
>> firmware onto this device without doing some serious hardware
>> modifications.
>> There is no sdcard to boot from or OTG to get the device into fel mode.
>> I have this hardware and I'm still trying to find a way to get it to boot
>> into
>> fel mode. For now only serial debug is possible.
>> BR,
>> CK
>
Reply all
Reply to author
Forward
0 new messages