Announcing Fedora 18 Final for Allwinner A10 and A13 based devices

5,450 views
Skip to first unread message

Hans de Goede

unread,
Feb 17, 2013, 2:29:18 AM2/17/13
to linux...@googlegroups.com
Hi All,

I'm very happy to announce the availability of Fedora 18 Finalfor
Allwinner A10 and A13 based devices. This release is based on the official
Fedora 18 Final for ARM images.

You can download it here:
http://scotland.proximity.on.ca/contrib-images/hansg

It is important to read the README, the image standard comes without
u-boot pre-loaded since u-boot is board specific. The image includes
a user-friendly simple script to install the right u-boot for
your board, but if you simply xzcat the image to an sdcard, and then
boot your device with the sdcard, things will *not* work.

Allwinnner specific changes since Fedora 18 Beta:
* Support for A13 based devices
* The list of support devices / boards has been greatly extended, a
total of 22 boards is now supported
* Many fixes to the video code, improving monitor compatibility, ie
* Composite video out fixed
* Support for Interlaced video modes
* The sound code now only registers alsa devices for the sound inputs
/ outputs which are actually present on the board, rather then for
all the devices inside the A1x soc
* Give memory reserved for the blob drivers for the GPU and video
engine back to Linux by default adding 176MiB to free memory.
If you want to use the blobs remove the relevant options from the
extra_args in uEnv.txt to turn the reservations back on
* gpio and led class support. Note that in order to use $random pin
for gpio you need to add it to the gpio_para in the fex file,
run fex2bin on the fex file, store the result as uboot/script.bin
and reboot

See the README for a list of currently supported boards.

Enjoy,

Hans


And to make sure everyone reads the README, let me print it here
in full:

Fedora 18 ARM for Allwinner A10 and A13 devices README
------------------------------------------------------

Quickstart guide
----------------

1) Insert an sdcard, note any data on the card will be destroyed!
2) Make sure the card is not mounted, run "mount" and if the card shows
up in the output umount its partitions
3) Write the img file to the card, ie as root do:
xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/mmcblk0
sync
4) The card is not yet ready for use! Since the A10 u-boot is board
specific, the image comes without any uboot install, follow the next
steps to install the right u-boot for your board
5) Remove the card, and re-insert it. The uboot partition should get
automatically mounted, if not mount it manually,
6) As root (or through sudo) run:
sh <uboot-part-mount>/select-board.sh
Note the "sh " in front is necessary because the uboot vfat partition
often gets auto-mounted noexec. ie:
sudo sh /run/media/hans/uboot/select-board.sh

If you've dialog installed the select-board.sh script will prompt for
your board. If you don't have dialog installed, it will print the list
of supported boards. Lookup your board and re-run the script with the
shortname for your board as argument, ie:
sudo sh /run/media/hans/uboot/select-board.sh mk802
7) umount the uboot and rootfs partitions, ie:
umount /run/media/hans/uboot
umount /run/media/hans/rootfs
8) Your sdcard is now ready for use
9) *Before* powering up your A10 device connect it to an hdmi or dvi monitor
10) When first booting from the sdcard inserted Fedora will automatically
reboot once, this is part of the process to resize the root partition to
fill the entire sdcard and is normal behavior.
11) After the automatic reboot Fedora will start with the firstboot wizard:
11a) Configure a user here
11b) Most A10 devices do not come with a battery backed rtc, so you will
want to enable ntp. Simply click ok in the ntp dialog. Now firstboot
will try to start ntp. Since most devices have only wireless, and
that is not configured yet at this time, click on cancel when it
tries to start ntp. If it then asks if you want to re-do your ntp
configuration choose no.
12) Log in as the just created user
13) If you need to configure wireless click on the network icon in the
top right corner (next to the clock) and select the wireless network
you want to connect to
14) Enjoy Fedora on your A10 device


Supported Devices:
------------------

Fedora 18 ARM for Allwinner A10 has been tested with the following devices:
* BA10 TV Box
* Cubieboard development board 1024 MB RAM
* Gooseberry development board
* Mele a1000g/a2000g 1024 MB RAM
* Mini-X 1024 MB RAM
* mk802 (with female mini hdmi) 512 MB RAM
* mk802ii (with male normal hdmi) 1024 MB RAM
* UHost U1A hdmi tv stick
* Olimex A13-OLinuXino-MICRO

Fedora 18 ARM should also work on the following devices:
* Whitelabel A10 tablet sold under various names
* Cubieboard development board 512 MB RAM
* Coby MID7042 tablet
* Coby MID8042 tablet
* Coby MID9742 tablet
* H6 netbook
* Hackberry development board
* Hyundai a7hd tablet
* Mele a1000/a2000 512 MB RAM
* Mini-X 512 MB RAM
* mk802 (with female mini hdmi) 1024 MB RAM
* Point of View ProTab 2 IPS 9" tablet
* Point of View ProTab 2 IPS tablet with 3g
* Whitelabel A13 tablet sold under various names
* Olimex A13-OLinuXino


Configuring the display output
------------------------------

Multiple video outputs at the same time are not supported. By default
hdmi output with EDID is used for all devices, except for tablets/netbooks
where the default output is the lcd.

The default hdmi output with EDID will get the native resolution of your
TV / monitor and use that. Note that in order for this to work your TV /
monitor must be connected *and turned on*, before booting your device.

The output resolution can be configured with the disp.screen0_output_mode
kernel cmdline value, which can be found in the extrargs part of uEnv.txt in
the uboot partition. The default uEnv.txt contains the following value:
disp.screen0_output_mode=EDID:1280x720p60

This means try to use EDID and if no valid EDID info is found fallback to
1280x720p60.

The used output can be changed by adding disp.screen0_output_type=X to the
extraargs in uEnv.txt. With X being one of: 0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga

Some per display type notes:
-lcd outputs: Hardcoded to the native mode, disp.screen0_output_mode is ignored
-tv: For the cvbs output disp.screen0_output_mode must be set to one of the
following: pal, pal-svideo, ntsc, ntsc-svideo, pal-m, pal-m-svideo, pal-nc,
pal-nc-svideo. Note the -svideo variants should only be used on boards with
an svideo connector, for composite out use the regular variants, ie:
disp.screen0_output_type=2 disp.screen0_output_mode=pal
-hdmi: To override the EDID detected mode, drop the "EDID:" from the
disp.screen0_output_mode value and set it to the desired mode, ie:
disp.screen0_output_type=3 disp.screen0_output_mode=1360x768p60
-vga: Does not support EDID, "EDID:" must be removed from the
disp.screen0_output_mode value otherwise it will be ignored. interlaced
progressive and refreshrate settings specified are ignored, each resolution
has hardcoded values for these. Example usage:
disp.screen0_output_type=4 disp.screen0_output_mode=1024x768


USB controller caveats
----------------------
The OTG USB controller in host mode only supports a limited number of
devices, plugging in a hub + mouse + keyboard typically will make either
the mouse or keyboard not work. This is a hardware limitation which we
will likely not be able to work around.

On tv-sticks and top-set boxes, simply avoid the otg connector, instead
use a hub in a regular host usb connector. Note on the mini-x the otg / host
marking is not always correct. If things don't work try using the OTG
connector instead!

On tablets and the gooseberry unfortunately only the otg connector is
available. One solution there is using a single usb-device which is
both a keyboard and a mouse at the same time. IE the receiver for logitech
wireless desktop sets.


Supported hardware components / features:
-----------------------------------------

Fedora 18 ARM for Allwinner A10 supports the following components:
* CPU + PMU + RAM
* Serial ports
* MMC cards
* Internal NAND storage
* Framebuffer on lcd / vga / hdmi / composite video
* Sound both analog out and over hdmi
* OTG USB controller
* Both standard USB host controllers
* Wifi
* Wired Ethernet
* SATA
* IR (untested at this time)


Unsupported hardware components:
--------------------------------

The following components require various proprietary blobs to be used, and
as such are not supported in the Fedora images. The kernel drivers for them
are present (usually as modules), so if you add the necessary blobs you
might get these to work:
* Mali 400 GPU
* Cedar hardware video & audio decoding and encoding engine
* G2D 2d engine


Differences from stock Fedora
-----------------------------
* Since the A10 is not a very powerful soc some services which are enabled by
default on Fedora are disabled in the image, see build-image.sh for a list.
* No plymouth: we log to a serial console for debugging so no pretty splash.
Also we don't use an initrd, so removing the console=ttyS0,115200 from
the extraargs in uEnv.txt will give plymouth, but so late it hardly matters.


Rebuilding the Fedora 18 ARM for Allwinner A10 disk image
---------------------------------------------------------

Building the Fedora 18 ARM for Allwinner A10 disk image consists of 2 steps
1) Building a uboot.tar.gz and rootfs.tar.gz "overlays", this is done
bu the build-boot-root-sh script
2) Combining uboot.tar.gz and rootfs.tar.gz with an official Fedora 18
ARM panda image. The a10 image you downloaded is named the same as the panda
image used as base with panda replaced by a10, so to get the panda image
name replace a10 with panda again :) This combining is done by the
build-image.sh script

These scripts are hosted here:
https://github.com/jwrdegoede/sunxi-fedora-scripts.git

A copy of the exact versions of these scripts used to build this Fedora A10
image can be found in the scripts directory of the uboot partition, the
kernel config used during the build can be found here too.

If you want to exactly reproduce this image it is important to use the
scripts from the scripts dir of the uboot partition, as the scripts contain
GIT tags used during the build to checkout the exact versions to build.

The pre-conditions these scripts expect to be met, and the exact usage of
them is documented in comments in the top of each script.

Johnson Chetty

unread,
Feb 17, 2013, 3:00:09 AM2/17/13
to linux...@googlegroups.com
This is GOLD!!!

I was working toward getting Sugar on this tablet.. I just hope things
should work, because koji has all the deps anyway... And the Sugar-dev
team has changes built out for the touchscreen XO in the mainstream(I
guess)
So, then yay!
Sugar-touch on cheaper devices= more kids who are computer literate!
> --
> 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/groups/opt_out.
>
>
>


--
Regards,
Johnson Chetty

Johnson Chetty

unread,
Feb 17, 2013, 3:24:29 AM2/17/13
to linux...@googlegroups.com
Great work gentlemen!

I'm assuming getting Sugar on this will be trivial.. am I off the mark?
Simple yum install thanks to koji, right?
The ARM builds for the XO's are ARMv7...
--
Regards,
Johnson Chetty

Hans de Goede

unread,
Feb 17, 2013, 4:50:43 AM2/17/13
to linux...@googlegroups.com, Johnson Chetty
Hi,

On 02/17/2013 09:00 AM, Johnson Chetty wrote:
> This is GOLD!!!
>
> I was working toward getting Sugar on this tablet..

Don't party too soon, you will be the first one to actually try this
on a tablet, so your milage may vary. Esp. touchscreen support could be
an issue. At a minimum you will probably need to modprobe the touchscreen
driver manually.

Regards,

Hans

Daniel Mosquera

unread,
Feb 21, 2013, 6:05:54 AM2/21/13
to linux...@googlegroups.com
Hi Hans.

I've tested the image with the Olimex A13 Micro and it works fine, even it takes only 32Mb of video memory (the images i use to build use 64Mb). I like it, but I think that there are some things that can be improved:
- The desktop it uses is xfce, but it takes much memory. Lxde takes only 20Mb of memory and works like a charm.
- I tryed to install codelite (which I use to develop directly over the board - I know this is like a crime for some people, but this way is easier to me to debug my programs), but I think this is not included. I tryed 'yum install codelite'.
- Also I tryed to use guvcview to test my webcam, but again it is no included?. I tryed 'yum install guvcview'.

In spite of the 'improvements' I would do I think this image is very good.

Kind regards,
Daniel

Roman Mamedov

unread,
Feb 21, 2013, 6:31:40 AM2/21/13
to linux...@googlegroups.com, damo...@gmail.com
On Thu, 21 Feb 2013 03:05:54 -0800 (PST)
Daniel Mosquera <damo...@gmail.com> wrote:

> I've tested the image with the Olimex A13 Micro and it works fine, even it
> takes only 32Mb of video memory (the images i use to build use 64Mb). I
> like it, but I think that there are some things that can be improved:
> - The desktop it uses is xfce, but it takes much memory. Lxde takes only
> 20Mb of memory and works like a charm.

Xfce is a much better desktop environment than LXDE - it is more polished,
easier and more pleasant to use and configure. I do not think Xfce is
RAM-heavy, and if it consumes a bit more, then it's well-justified.

Besides, the RAM consumption is only an issue for the A13 Micro with 224 MB of
usable RAM that you for some reason chose to use (and develop on??), not for
almost any A10 board existing today. MiniX, the Cubieboard, modern versions of
Mele, and even the $35 MK802 all include 1 GB of RAM.

-
With respect,
Roman
signature.asc

Hans de Goede

unread,
Feb 21, 2013, 6:34:59 AM2/21/13
to linux...@googlegroups.com, Daniel Mosquera
Hi,

On 02/21/2013 12:05 PM, Daniel Mosquera wrote:
> Hi Hans.
>
> I've tested the image with the Olimex A13 Micro and it works fine, even it takes only 32Mb of video memory (the images i use to build use 64Mb). I like it, but I think that there are some things that can be improved:
> - The desktop it uses is xfce, but it takes much memory. Lxde takes only 20Mb of memory and works like a charm.

Well, you can always do yum groupinstall lxde and switch your session to lxde, which I guess is what you've already done?

> - I tryed to install codelite (which I use to develop directly over the board - I know this is like a crime for some people, but this way is easier to me to debug my programs), but I think this is not included. I tryed 'yum install codelite'.

Sorry, there are not codelite packages for Fedora. Perhaps you want to contribute one? :
https://fedoraproject.org/wiki/Join_the_package_collection_maintainers

> - Also I tryed to use guvcview to test my webcam, but again it is no included?. I tryed 'yum install guvcview'.

guvcview requires some non-us libs, so its in rpmfusion:
http://rpmfusion.org/

I'm not sure if the default yum repo .conf file available will also work on arm, if
it does not edit it to point to:
http://download1.rpmfusion.org/free/fedora-secondary/releases/18/Everything/armhfp/os/

Regards,

Hans

Daniel Mosquera

unread,
Feb 21, 2013, 6:33:42 AM2/21/13
to linux...@googlegroups.com
Hi Hans,

I've trying to compile the kernel with kernel-3.4-armv7hl-sun5i.config configuration you deployed with your image but when compiling with stage/sunxi-3.4 kernel branch I get the next error:
drivers/built-in.o: In function `Hdmi_init':
/home/marine/Documentos/Olimex/kernel_3.4.29+/kernel/drivers/video/sunxi/hdmi/drv_hdmi.c:334: undefined reference to `audio_set_hdmi_func'
make: *** [.tmp_vmlinux1] Error 1


Kind regards,
Daniel

El domingo, 17 de febrero de 2013 08:29:18 UTC+1, Hans de Goede escribió:

Hans de Goede

unread,
Feb 21, 2013, 6:45:06 AM2/21/13
to linux...@googlegroups.com, Daniel Mosquera
Hi,

On 02/21/2013 12:33 PM, Daniel Mosquera wrote:
> Hi Hans,
>
> I've trying to compile the kernel with kernel-3.4-armv7hl-sun5i.config configuration you deployed with your image but when compiling with stage/sunxi-3.4 kernel branch I get the next error:
> drivers/built-in.o: In function `Hdmi_init':
> /home/marine/Documentos/Olimex/kernel_3.4.29+/kernel/drivers/video/sunxi/hdmi/drv_hdmi.c:334: undefined reference to `audio_set_hdmi_func'

That is because that config enables the SUN4* sound stuff not the SUN5* sound stuff,
as it expects a unified sound tree, to fix this either use my kernel git tree:
https://github.com/jwrdegoede/linux-sunxi/tree/stage/sunxi-3.4

Or make sure that the SUN5* sound stuff is all set to y (so buildin) in your .config

Regards,

Hans


> make: *** [.tmp_vmlinux1] Error 1
>
> Kind regards,
> Daniel
>
> El domingo, 17 de febrero de 2013 08:29:18 UTC+1, Hans de Goede escribi�:
>
> Hi All,
>
> I'm very happy to announce the availability of Fedora 18 Finalfor
> Allwinner A10 and A13 based devices. This release is based on the official
> Fedora 18 Final for ARM images.
>
> You can download it here:
> http://scotland.proximity.on.ca/contrib-images/hansg <http://scotland.proximity.on.ca/contrib-images/hansg>
> https://github.com/jwrdegoede/sunxi-fedora-scripts.git <https://github.com/jwrdegoede/sunxi-fedora-scripts.git>
>
> A copy of the exact versions of these scripts used to build this Fedora A10
> image can be found in the scripts directory of the uboot partition, the
> kernel config used during the build can be found here too.
>
> If you want to exactly reproduce this image it is important to use the
> scripts from the scripts dir of the uboot partition, as the scripts contain
> GIT tags used during the build to checkout the exact versions to build.
>
> The pre-conditions these scripts expect to be met, and the exact usage of
> them is documented in comments in the top of each script.
>

Hans de Goede

unread,
Feb 21, 2013, 6:47:21 AM2/21/13
to linux...@googlegroups.com, Daniel Mosquera
Hi,

On 02/21/2013 12:45 PM, Hans de Goede wrote:
> Hi,
>
> On 02/21/2013 12:33 PM, Daniel Mosquera wrote:
>> Hi Hans,
>>
>> I've trying to compile the kernel with kernel-3.4-armv7hl-sun5i.config configuration you deployed with your image but when compiling with stage/sunxi-3.4 kernel branch I get the next error:
>> drivers/built-in.o: In function `Hdmi_init':
>> /home/marine/Documentos/Olimex/kernel_3.4.29+/kernel/drivers/video/sunxi/hdmi/drv_hdmi.c:334: undefined reference to `audio_set_hdmi_func'
>
> That is because that config enables the SUN4* sound stuff not the SUN5* sound stuff,
> as it expects a unified sound tree, to fix this either use my kernel git tree:
> https://github.com/jwrdegoede/linux-sunxi/tree/stage/sunxi-3.4

Erm wrong branch, use this instead:
https://github.com/jwrdegoede/linux-sunxi/tree/fedora-18-3.4-2

Daniel Mosquera

unread,
Feb 21, 2013, 6:48:36 AM2/21/13
to linux...@googlegroups.com, damo...@gmail.com


El jueves, 21 de febrero de 2013 12:31:40 UTC+1, Roman Mamedov escribió:
On Thu, 21 Feb 2013 03:05:54 -0800 (PST)
Daniel Mosquera <damo...@gmail.com> wrote:

> I've tested the image with the Olimex A13 Micro and it works fine, even it
> takes only 32Mb of video memory (the images i use to build use 64Mb). I
> like it, but I think that there are some things that can be improved:
> - The desktop it uses is xfce, but it takes much memory. Lxde takes only
> 20Mb of memory and works like a charm.

Xfce is a much better desktop environment than LXDE - it is more polished,
easier and more pleasant to use and configure. I do not think Xfce is
RAM-heavy, and if it consumes a bit more, then it's well-justified.

Besides, the RAM consumption is only an issue for the A13 Micro with 224 MB of
usable RAM that you for some reason chose to use (and develop on??),

We use the A13 MICRO for industrial applications. It is small, fast and relayable.
We develop on them because this way we stress the platform and we can
see the problems when they happen and know better what we are using.
 
not for
almost any A10 board existing today. MiniX, the Cubieboard, modern versions of
Mele, and even the $35 MK802 all include 1 GB of RAM.

Of course they are also great boards.
 

-
With respect,
Roman

Daniel Mosquera

unread,
Feb 21, 2013, 6:51:41 AM2/21/13
to linux...@googlegroups.com, Daniel Mosquera


El jueves, 21 de febrero de 2013 12:47:21 UTC+1, Hans de Goede escribió:
Hi,

On 02/21/2013 12:45 PM, Hans de Goede wrote:
> Hi,
>
> On 02/21/2013 12:33 PM, Daniel Mosquera wrote:
>> Hi Hans,
>>
>> I've trying to compile the kernel with kernel-3.4-armv7hl-sun5i.config configuration you deployed with your image but when compiling with stage/sunxi-3.4 kernel branch I get the next error:
>> drivers/built-in.o: In function `Hdmi_init':
>> /home/marine/Documentos/Olimex/kernel_3.4.29+/kernel/drivers/video/sunxi/hdmi/drv_hdmi.c:334: undefined reference to `audio_set_hdmi_func'
>
> That is because that config enables the SUN4* sound stuff not the SUN5* sound stuff,
> as it expects a unified sound tree, to fix this either use my kernel git tree:
> https://github.com/jwrdegoede/linux-sunxi/tree/stage/sunxi-3.4

Erm wrong branch, use this instead:
https://github.com/jwrdegoede/linux-sunxi/tree/fedora-18-3.4-2

Ok, thank you.

Regards,
Daniel
 

emolitor

unread,
Feb 21, 2013, 2:04:44 PM2/21/13
to linux...@googlegroups.com
Thanks Hans, this is great stuff. However getting a nasty OOPS. I'm not sure if this is expected as you state you are not supporting mali right now.

Bringing the system up in multi-user mode (FB Console) logging in I first insmod ump.ko without issues. But when I insmod mali.ko I get the following. 

[  505.240000] mali: use config clk_div 3

[  505.260000] mali: clk_div 3

[  505.280000] Mali: mali clock set completed, clock is  320000000 Mhz

[  505.300000] Mali: ERR: /home/hans/projects/sunxi/linux-sunxi/drivers/gpu/mali/mali/common/mali_kernel_core.c

[  505.330000]            mali_parse_config_memory() 581

[  505.330000]            Failed to register MEMORY

[  505.380000] 

Error: could not insert module /[  505.420000] Unable to handle kernel NULL pointer dereference at virtual address 000007a7

[  505.420000] pgd = ec6f8000

[  505.420000] [000007a7] *pgd=00000000

[  505.420000] Internal error: Oops: 5 [#2] ARM

[  505.420000] Modules linked in: ump bnep bluetooth nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables vfat fat uinput

[  505.420000] CPU: 0    Tainted: G      D       (3.4.29.sun4i #21)

[  505.420000] PC is at ebitmap_cpy+0x60/0xbc

[  505.420000] LR is at 0x0

[  505.420000] pc : [<c01c473c>]    lr : [<00000000>]    psr: a0070093

[  505.420000] sp : ee81be08  ip : 00000000  fp : ee81bed4

[  505.420000] r10: 0000000b  r9 : ec1ec198  r8 : c081d158

[  505.420000] r7 : ee81bed4  r6 : ec34bec0  r5 : ec1ec1a4  r4 : 0000078b

[  505.420000] r3 : ec34bdc0  r2 : 00008020  r1 : ef002180  r0 : ec34bdc0

[  505.420000] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user

[  505.420000] Control: 10c5387d  Table: 6c6f8019  DAC: 00000015

[  505.420000] 

[  505.420000] PC: 0xc01c46bc:

[  505.420000] 46bc  ebffffab e1a00006 ea000002 e1a0000a ebffffa7 e3e0000b e8bd8ffe c081d158

[  505.420000] 46dc  e92d41f0 e52de004 e8bd4000 e1a07001 e3a01008 e1a05000 e3a06000 eb00f9b8

[  505.420000] 46fc  e59f8090 e5974000 ea00001c e5980018 e3500000 0a000008 e3081020 e3a02020

[  505.420000] 471c  ebfcbd63 e2503000 1a000004 e1a00005 ebffff8f e3e0000b e8bd81f0 e3a03010

[  505.420000] 473c  e594201c e2831004 e284001c e583201c e2842004 e492c004 e1520000 e481c004

[  505.420000] 475c  1afffffb e3a02000 e5832000 e1560002 15863000 05853000 e1a06003 e5944000

[  505.420000] 477c  e3540000 1affffe0 e5973004 e1a00004 e5853004 e8bd81f0 c081d158 e92d4ff0

[  505.420000] 479c  e24dd024 e52de004 e8bd4000 e1a04001 e3a01008 e1a07000 eb00f989 e594c004

[  505.420000] 

[  505.420000] SP: 0xee81bd88:

[  505.420000] bd88  ee81bd88 ee81bd88 eb9c3020 c01c4720 eb9cf1f8 77136d1a 00000000 80400040

[  505.420000] bda8  ee81be37 c01c473c a0070093 ffffffff ee81bdf4 c04bfe58 ec34bdc0 ef002180

[  505.420000] bdc8  00008020 ec34bdc0 0000078b ec1ec1a4 ec34bec0 ee81bed4 c081d158 ec1ec198

[  505.420000] bde8  0000000b ee81bed4 00000000 ee81be08 00000000 c01c473c a0070093 ffffffff

[  505.420000] be08  ec1ec180 ee81beb4 c08212d8 0000078b ec1232c0 c01c538c ee81beb4 0000078b

[  505.420000] be28  c08212d8 ee81bf2c 00000200 ee81bec8 60070013 c01c57c4 00000480 00000031

[  505.420000] be48  ebc66a84 ebc66a84 c08211cc 00000001 ee81beb4 ee81bf2c 00000774 c01cc3f8

[  505.420000] be68  ee81beb4 00000001 0000032d ee81bfb0 00000008 b673b068 ec189900 c04c1884

[  505.420000] 

[  505.420000] FP: 0xee81be54:

[  505.420000] be54  00000001 ee81beb4 ee81bf2c 00000774 c01cc3f8 ee81beb4 00000001 0000032d

[  505.420000] be74  ee81bfb0 00000008 b673b068 ec189900 c04c1884 00000000 0000030d 00000000

[  505.420000] be94  00000170 00000800 0fb30fb3 00100031 c01b9768 ee81a000 00000200 be9c3940

[  505.420000] beb4  00000008 0000000f 00000fb3 00000000 00000001 00000000 00000000 00000001

[  505.420000] bed4  ec1ec1c0 00000480 00000000 00000000 00000024 ec6eed80 b6ff6018 00000119

[  505.420000] bef4  00000003 00000000 00000009 c073e180 c01cccd0 00000000 ee81bf2c 00000001

[  505.420000] bf14  00000000 00000024 c01c0930 ee81bf2c c021233c 20070013 00000000 ec04a800

[  505.420000] bf34  00000010 00000010 c01b8020 00000000 c03d9d3c c073e180 00000010 00000003

[  505.420000] 

[  505.420000] R0: 0xec34bd40:

[  505.420000] bd40  80040100 00000001 0000001c 00000001 00000000 00000000 00000000 00000000

[  505.420000] bd60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bd80  00000002 ffffffff 00000000 00000000 ffffffff ffffffff ffffffff 00000240

[  505.420000] bda0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bdc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bde0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] be00  c0db6d00 c0dc3580 c0db6380 c0dc31e0 c0dc1920 c0dc1900 c0dbf620 c0dc1a80

[  505.420000] be20  c0dc1940 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] 

[  505.420000] R1: 0xef002100:

[  505.420000] 2100  c1042030 00000000 00000005 000000c0 000000c0 00000000 0000001e 00000015

[  505.420000] 2120  00000015 00000015 00000000 0000000a 00000000 000000c0 00000040 00000000

[  505.420000] 2140  ef000000 ef002044 ef0021c4 ef330fc0 ef002050 ef0021d0 ef15f448 ef15f440

[  505.420000] 2160  c0713568 ef331000 00000001 00000007 ef001040 85701952 434618d4 7a860895

[  505.420000] 2180  c1042048 00000000 00000005 00000040 00000040 00000000 0000001e 00000040

[  505.420000] 21a0  00000040 00000040 00000000 00000006 00000000 00000040 00000040 00000000

[  505.420000] 21c0  ef000040 ef002144 ef002244 ef330740 ef002150 ef002250 ef15f448 ef15f440

[  505.420000] 21e0  c0713568 ef3307c0 00000001 00000007 ef001060 10420846 80212344 90049af0

[  505.420000] 

[  505.420000] R3: 0xec34bd40:

[  505.420000] bd40  80040100 00000001 0000001c 00000001 00000000 00000000 00000000 00000000

[  505.420000] bd60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bd80  00000002 ffffffff 00000000 00000000 ffffffff ffffffff ffffffff 00000240

[  505.420000] bda0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bdc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bde0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] be00  c0db6d00 c0dc3580 c0db6380 c0dc31e0 c0dc1920 c0dc1900 c0dbf620 c0dc1a80

[  505.420000] be20  c0dc1940 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] 

[  505.420000] R5: 0xec1ec124:

[  505.420000] c124  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ec06d854

[  505.420000] c144  ec06d854 ec1ec000 00000024 74737973 755f6d65 6a626f3a 5f746365 64753a72

[  505.420000] c164  765f7665 725f7261 745f6e75 0030733a ec1ec180 00000000 00000000 0000078b

[  505.420000] c184  00000008 0000000f 00000fb3 00000000 00000001 00000000 00000000 00000001

[  505.420000] c1a4  ec1ec040 00000000 00000000 00000000 00000000 00000000 00000000 ec1ec100

[  505.420000] c1c4  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 00000000 00000000

[  505.420000] c1e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ec1ec240

[  505.420000] c204  5fffffff bf16cb46 80000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] 

[  505.420000] R6: 0xec34be40:

[  505.420000] be40  6469755f 0000302e 00000031 00000001 00000000 00000000 00000000 00000000

[  505.420000] be60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] be80  ef7fdfa0 bf11f000 0000a000 00000002 ec34be00 00000009 00000000 c007249c

[  505.420000] bea0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bec0  00000000 00000008 0000000f 00000fb3 00000000 00000001 00000000 00000000

[  505.420000] bee0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] bf00  6362696c 6f726961 7263732d 2d747069 65746e69 65727072 2e726574 322e6f73

[  505.420000] bf20  3231312e 382e3030 732e3600 00302e6f 00000000 00000000 00000000 00000000

[  505.420000] 

[  505.420000] R7: 0xee81be54:

[  505.420000] be54  00000001 ee81beb4 ee81bf2c 00000774 c01cc3f8 ee81beb4 00000001 0000032d

[  505.420000] be74  ee81bfb0 00000008 b673b068 ec189900 c04c1884 00000000 0000030d 00000000

[  505.420000] be94  00000170 00000800 0fb30fb3 00100031 c01b9768 ee81a000 00000200 be9c3940

[  505.420000] beb4  00000008 0000000f 00000fb3 00000000 00000001 00000000 00000000 00000001

[  505.420000] bed4  ec1ec1c0 00000480 00000000 00000000 00000024 ec6eed80 b6ff6018 00000119

[  505.420000] bef4  00000003 00000000 00000009 c073e180 c01cccd0 00000000 ee81bf2c 00000001

[  505.420000] bf14  00000000 00000024 c01c0930 ee81bf2c c021233c 20070013 00000000 ec04a800

[  505.420000] bf34  00000010 00000010 c01b8020 00000000 c03d9d3c c073e180 00000010 00000003

[  505.420000] 

[  505.420000] R8: 0xc081d0d8:

[  505.420000] d0d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] d0f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] d118  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] d138  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] d158  00000000 00000000 ef002100 00000000 00000000 00000000 ef002180 ef002200

[  505.420000] d178  ef002280 ef002300 ef002380 ef002400 ef002480 ef002500 00000003 ef15f440

[  505.420000] d198  00000000 ef002080 ef002000 00000000 00000000 00000000 00000000 00000000

[  505.420000] d1b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] 

[  505.420000] R9: 0xec1ec118:

[  505.420000] c118  ffffffff 000000c0 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] c138  00000000 00000000 ec06d854 ec06d854 ec1ec000 00000024 74737973 755f6d65

[  505.420000] c158  6a626f3a 5f746365 64753a72 765f7665 725f7261 745f6e75 0030733a ec1ec180

[  505.420000] c178  00000000 00000000 0000078b 00000008 0000000f 00000fb3 00000000 00000001

[  505.420000] c198  00000000 00000000 00000001 ec1ec040 00000000 00000000 00000000 00000000

[  505.420000] c1b8  00000000 00000000 ec1ec100 ffffffff ffffffff ffffffff ffffffff ffffffff

[  505.420000] c1d8  ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  505.420000] c1f8  00000000 00000000 ec1ec240 5fffffff bf16cb46 80000000 00000000 00000000

[  505.420000] Process sudo (pid: 780, stack limit = 0xee81a2e8)

[  505.420000] Stack: (0xee81be08 to 0xee81c000)

[  505.420000] be00:                   ec1ec180 ee81beb4 c08212d8 0000078b ec1232c0 c01c538c

[  505.420000] be20: ee81beb4 0000078b c08212d8 ee81bf2c 00000200 ee81bec8 60070013 c01c57c4

[  505.420000] be40: 00000480 00000031 ebc66a84 ebc66a84 c08211cc 00000001 ee81beb4 ee81bf2c

[  505.420000] be60: 00000774 c01cc3f8 ee81beb4 00000001 0000032d ee81bfb0 00000008 b673b068

[  505.420000] be80: ec189900 c04c1884 00000000 0000030d 00000000 00000170 00000800 0fb30fb3

[  505.420000] bea0: 00100031 c01b9768 ee81a000 00000200 be9c3940 00000008 0000000f 00000fb3

[  505.420000] bec0: 00000000 00000001 00000000 00000000 00000001 ec1ec1c0 00000480 00000000

[  505.420000] bee0: 00000000 00000024 ec6eed80 b6ff6018 00000119 00000003 00000000 00000009

[  505.420000] bf00: c073e180 c01cccd0 00000000 ee81bf2c 00000001 00000000 00000024 c01c0930

[  505.420000] bf20: ee81bf2c c021233c 20070013 00000000 ec04a800 00000010 00000010 c01b8020

[  505.420000] bf40: 00000000 c03d9d3c c073e180 00000010 00000003 00000003 00000010 b6ff6018

[  505.420000] bf60: 00000119 c000e2c8 ee81a000 00000200 00000000 c03d9f00 ee81bf94 00000000

[  505.420000] bf80: 00000009 00000003 b6ff8ad4 c03da3b0 00000010 00000003 00000009 b6ff6018

[  505.420000] bfa0: b6ff8ad4 c000e28c b6ff6018 b6ff8ad4 00000010 00000003 00000009 00008000

[  505.420000] bfc0: b6ff6018 b6ff8ad4 b6ff6018 00000119 00008000 b6fc7f2c b6ff94e7 00000000

[  505.420000] bfe0: b6f770ec be9c387c b6f5e7f8 b6e89d6c 80070010 00000010 00000000 00000000

[  505.420000] [<c01c473c>] (ebitmap_cpy+0x60/0xbc) from [<c01c538c>] (sidtab_insert+0x100/0x19c)

[  505.420000] [<c01c538c>] (sidtab_insert+0x100/0x19c) from [<c01c57c4>] (sidtab_context_to_sid+0x314/0x3d8)

[  505.420000] [<c01c57c4>] (sidtab_context_to_sid+0x314/0x3d8) from [<c01cc3f8>] (security_compute_sid+0x2f0/0x444)

[  505.420000] [<c01cc3f8>] (security_compute_sid+0x2f0/0x444) from [<c01cccd0>] (security_transition_sid+0x30/0x38)

[  505.420000] [<c01cccd0>] (security_transition_sid+0x30/0x38) from [<c01c0930>] (selinux_socket_create+0x158/0x190)

[  505.420000] [<c01c0930>] (selinux_socket_create+0x158/0x190) from [<c01b8020>] (security_socket_create+0x1c/0x24)

[  505.420000] [<c01b8020>] (security_socket_create+0x1c/0x24) from [<c03d9d3c>] (__sock_create+0x98/0x1d0)

[  505.420000] [<c03d9d3c>] (__sock_create+0x98/0x1d0) from [<c03d9f00>] (sock_create+0x4c/0x50)

[  505.420000] [<c03d9f00>] (sock_create+0x4c/0x50) from [<c03da3b0>] (sys_socket+0x2c/0x6c)

[  505.420000] [<c03da3b0>] (sys_socket+0x2c/0x6c) from [<c000e28c>] (__sys_trace_return+0x0/0x34)

[  505.420000] Code: ebffff8f e3e0000b e8bd81f0 e3a03010 (e594201c) 

lib/modules/3.4.29.sun4i/kernel/[  509.490000] ---[ end trace 77b6c72194b21f8d ]---

drivers/gpu/mali/mali/mali.ko: Bad address

Segmentation fault
Message has been deleted

Hans de Goede

unread,
Feb 22, 2013, 4:03:55 AM2/22/13
to linux...@googlegroups.com
Hi,

On 02/21/2013 08:04 PM, emolitor wrote:
> Thanks Hans, this is great stuff. However getting a nasty OOPS. I'm not sure if this is expected as you state you are not supporting mali right now.
>
> Bringing the system up in multi-user mode (FB Console) logging in I first insmod ump.ko without issues. But when I insmod mali.ko I get the following.

If you want to use the blob(s) you need to remove the relevant mem_reserve arguments from the kernel cmdline
(by editing uEnv.txt in the uboot partition).

If you want to use just the mali, and not the cedar stuff, you should remove: "sunxi_fb_mem_reserve=16 sunxi_no_mali_mem_reserve"
from the cmdline.

Regards,

Hans
> http://scotland.proximity.on.ca/contrib-images/hansg <http://scotland.proximity.on.ca/contrib-images/hansg>
> https://github.com/jwrdegoede/sunxi-fedora-scripts.git <https://github.com/jwrdegoede/sunxi-fedora-scripts.git>
>
> A copy of the exact versions of these scripts used to build this Fedora A10
> image can be found in the scripts directory of the uboot partition, the
> kernel config used during the build can be found here too.
>
> If you want to exactly reproduce this image it is important to use the
> scripts from the scripts dir of the uboot partition, as the scripts contain
> GIT tags used during the build to checkout the exact versions to build.
>
> The pre-conditions these scripts expect to be met, and the exact usage of
> them is documented in comments in the top of each script.
>

emolitor

unread,
Feb 22, 2013, 4:34:25 AM2/22/13
to linux...@googlegroups.com
Thanks, that worked and was pointed out in the readme. :)

Very polished. EDID works on everything I could test it on. We do have one known bad device that I will test it on next week but I suspect the fallback will handle things nicely. Will test Libv's mali and limare this afternoon but I see no reason why those wouldn't work.

- Eric

andreas palsson

unread,
Mar 7, 2013, 7:41:53 PM3/7/13
to linux...@googlegroups.com
Hi Rob,

my guess is that you invoked select-board.sh using the "sh" command,
instead try; "bash select-board.sh".

When bash is invoked as sh, it goes into "i-am-too-old-for-this-s**t"-mode and begins yelling at any syntax invented after the 70's to get off its lawn.

Hope that helps.

> Date: Thu, 7 Mar 2013 15:56:31 -0800
> From: gadg...@googlemail.com
> To: linux...@googlegroups.com
> Subject: [linux-sunxi] Re: Announcing Fedora 18 Final for Allwinner A10 and A13 based devices
>
>
> Hi,
>
> When I try to run the script, I get the following message:
>
> select-board.sh: 13: select-board.sh: Syntax error: "(" unexpected
>
> I am using Linux Mint rather than Fedora on my master PC?
>
> Regards,
>
>
> Rob Knight
>

Roman Mamedov

unread,
Mar 8, 2013, 1:24:05 AM3/8/13
to linux...@googlegroups.com, wpt...@hotmail.com
On Fri, 8 Mar 2013 01:41:53 +0100
andreas palsson <wpt...@hotmail.com> wrote:

> Hi Rob,
>
> my guess is that you invoked select-board.sh using the "sh" command,
> instead try; "bash select-board.sh".
>
> When bash is invoked as sh, it goes into "i-am-too-old-for-this-s**t"-mode and begins yelling at any syntax invented after the 70's to get off its lawn.

It is possible that /bin/sh is actually linked to "dash", not bash.

If a script uses bash-specific features, it's absolutely ought to have
"#!/bin/bash" in its header.

--
With respect,
Roman
signature.asc

Hans de Goede

unread,
Mar 8, 2013, 3:11:02 AM3/8/13
to linux...@googlegroups.com, gadg...@googlemail.com
Hi,

On 03/08/2013 12:56 AM, gadg...@googlemail.com wrote:
>
> Hi,
>
> When I try to run the script, I get the following message:
>
> select-board.sh: 13: select-board.sh: Syntax error: "(" unexpected
>
> I am using Linux Mint rather than Fedora on my master PC?

Hmm, it looks like your sh does not understand arrays. As other
people suggested try executing the script with bash, ie:

bash /run/media/uboot/select-board.sh

Regards,

Hans

Oliver Schinagl

unread,
Mar 18, 2013, 3:23:03 AM3/18/13
to linux...@googlegroups.com
On 17-02-13 10:50, Hans de Goede wrote:
> Hi,
>
> On 02/17/2013 09:00 AM, Johnson Chetty wrote:
>> This is GOLD!!!
>>
It is indeed, I just installed it to my SD card (btw, I couldn't find a
size requirement and it would not fit onto my 2GB SD card :S)
>> I was working toward getting Sugar on this tablet..
>
> Don't party too soon, you will be the first one to actually try this
> on a tablet, so your milage may vary. Esp. touchscreen support could be
> an issue. At a minimum you will probably need to modprobe the touchscreen
> driver manually.
So touch screen does work? I haven't tried this, I just simply assumed
it wasn't working. On what would auto-detection depend? I guess that
would be FDT right?

Having said that, I noticed there was no 8192cu.ko module; is this a
licensing technical issue? Also, and this is pure my lack of
understanding, lsusb doesn't show the module at all, until I manually
load the driver (I copied it over from the internal NAND partition from
android) and then seems to work normally. Also FDT issue?

Finally, I know that it is one of the many inet97f-ii clones but
couldn't find that in the setup script. using that as parameter worked
fine (the files where happily in sun4i/inet97f-ii, so figured it had to
work).
>
> Regards,
>
> Hans
>
Thanks,

Oliver

Hans de Goede

unread,
Mar 18, 2013, 10:06:55 AM3/18/13
to linux...@googlegroups.com, Oliver Schinagl
Hi,

<snip>

>> Don't party too soon, you will be the first one to actually try this
>> on a tablet, so your milage may vary. Esp. touchscreen support could be
>> an issue. At a minimum you will probably need to modprobe the touchscreen
>> driver manually.
> So touch screen does work?

It could, no-one has tried this yet AFAIK.

> I haven't tried this, I just simply assumed it wasn't working. On what would auto-detection depend? I guess that would be FDT right?

Likely in the final upstream solution the touchscreen info will be part of the device tree, yes.

> Having said that, I noticed there was no 8192cu.ko module;

There is:

[hans@shalem ~]$ ls /run/media/hans/rootfs/lib/modules/3.4.29.sun4i/kernel/drivers/net/wireless/rtl8192cu/
8192cu.ko
[hans@shalem ~]$

> lsusb doesn't show the module at all, until I manually load the driver

That is a problem with the fex-file (A10 specific board info file, like
ftd, but than a custom format), for some reason for most devices the
"usb_host_init_state" in the [usbc2] block is set to 0, which causes
the control to be disabled until you modprobe a driver.

If you edit the fex-file and set "usb_host_init_state = 1" in the
[usbc2] block and then run fex2bin on it and copy the new bin file
to uboot/script.bin this issue should be solved.

> Finally, I know that it is one of the many inet97f-ii clones but couldn't find that in the setup script. using that as parameter worked fine (the files where happily in sun4i/inet97f-ii, so figured it had to work).

Ah, bug in select-board.sh will fix.

Regards,

Hans

Oliver Schinagl

unread,
Mar 18, 2013, 4:34:40 PM3/18/13
to linux...@googlegroups.com
On 03/18/13 15:06, Hans de Goede wrote:
> Hi,
>
> <snip>
>
>>> Don't party too soon, you will be the first one to actually try this
>>> on a tablet, so your milage may vary. Esp. touchscreen support could be
>>> an issue. At a minimum you will probably need to modprobe the
>>> touchscreen
>>> driver manually.
>> So touch screen does work?
>
> It could, no-one has tried this yet AFAIK.
Luckly, my module doens't work with your 3.4 kernel (it requres 3.0) and
worse, appearantly no sources for it either :S

>
>> I haven't tried this, I just simply assumed it wasn't working. On what
>> would auto-detection depend? I guess that would be FDT right?
>
> Likely in the final upstream solution the touchscreen info will be part
> of the device tree, yes.
>
>> Having said that, I noticed there was no 8192cu.ko module;
>
> There is:
>
> [hans@shalem ~]$ ls
> /run/media/hans/rootfs/lib/modules/3.4.29.sun4i/kernel/drivers/net/wireless/rtl8192cu/
>
> 8192cu.ko
> [hans@shalem ~]$
My bad. I copied the 8192cu.ko from 3.0 to kernel/drivers/net/usb and
modprobeing of course worked. I only looked there if it was there and
figured that's why it wasn't working. Obviously the 8192cu didn't even
work to begin with (wrong module version) so it was using the correct
one all along.

Sorry for the noise :)
>
>> lsusb doesn't show the module at all, until I manually load the driver
>
> That is a problem with the fex-file (A10 specific board info file, like
> ftd, but than a custom format), for some reason for most devices the
> "usb_host_init_state" in the [usbc2] block is set to 0, which causes
> the control to be disabled until you modprobe a driver.
Yeah, i've spend 3 days cleaning up the Fex_Guide page, know way more
about fex's then I'd want to.

I'll go over my specific fex file and clean it up for my tablet and make
sure that that is enabled for USBC2

>
> If you edit the fex-file and set "usb_host_init_state = 1" in the
> [usbc2] block and then run fex2bin on it and copy the new bin file
> to uboot/script.bin this issue should be solved.
>
>> Finally, I know that it is one of the many inet97f-ii clones but
>> couldn't find that in the setup script. using that as parameter worked
>> fine (the files where happily in sun4i/inet97f-ii, so figured it had
>> to work).
>
> Ah, bug in select-board.sh will fix.
Cool; well manually supplying it as parameter was a good enough
workaround for me. I'll submit a patch for the cleaned fex in the next
day or so.
>
> Regards,
>
> Hans
>

g00b

unread,
Mar 29, 2013, 7:32:32 PM3/29/13
to linux...@googlegroups.com
Hi,

thanks a lot for this image. It works great and is very easy to setup. I have a gooseberry and I tried so many different images but I always have a loadaverage of > 1 even at idle.
There is a process "usb-hardware-sc" that is in the D state all the time. I guess this is causing the high load. I'm not sure if the high load is really affecting the overall performance but I have heard that other people don't have this problem.

Best Regards,
Oliver

Hans de Goede

unread,
Mar 30, 2013, 1:52:47 PM3/30/13
to linux...@googlegroups.com
Hi,

On 03/30/2013 12:32 AM, g00b wrote:
> Hi,
>
> thanks a lot for this image. It works great and is very easy to setup. I have a gooseberry and I tried so many different images but I always have a loadaverage of > 1 even at idle.
> There is a process "usb-hardware-sc" that is in the D state all the time. I guess this is causing the high load. I'm not sure if the high load is really affecting the overall performance but I have heard that other people don't have this problem.

The load > 1 is a known problem, which affects lots of boards, it is completely
harmless though, other then the weird load reporting everything is fine, and the
actual load is quite low.

Regards,

Hans

Ford FasteRR

unread,
Aug 6, 2013, 10:22:22 AM8/6/13
to linux...@googlegroups.com
I just set this up on an MK802s (sun5i) but I can only see 512 mb ram:

[root@localhost log]# free -m
             total       used       free     shared    buffers     cached
Mem:           483        356        126          0         42        224
-/+ buffers/cache:         90        393
Swap:          499          0        499

Any ideas for how to get it to give me all of the true available system ram?

Henrik Nordström

unread,
Aug 6, 2013, 3:58:58 PM8/6/13
to linux...@googlegroups.com
tis 2013-08-06 klockan 07:22 -0700 skrev Ford FasteRR:
> I just set this up on an MK802s (sun5i) but I can only see 512 mb ram:
>
> [root@localhost log]# free -m
> total used free shared buffers
> cached
> Mem: 483 356 126 0 42
> 224
> -/+ buffers/cache: 90 393
> Swap: 499 0 499
>
> Any ideas for how to get it to give me all of the true available
> system ram?

Replace u-boot SPL with the correct version for your board.

Regards
Henrik

Ford FasteRR

unread,
Aug 6, 2013, 4:47:57 PM8/6/13
to linux...@googlegroups.com
I am looking at the options for boards sun5i from the uboot files and I don't see an option other  than the one I currently used (mk802_a10s):

mint sun5i # ls
a13_mid  a13-olinuxino  a13-olinuxinom  mk802_a10s  r7-tv-dongle  wobo-i5

Do you know which other one I should try instead of this?





--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/w4hY-NCD68U/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to linux-sunxi...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





--
________________________

Sincerely,
Steve A. - MSIS, BSIT, A+, N+, Linux+, MCP 

fordf...@gmail.com

Henrik Nordström

unread,
Aug 6, 2013, 6:21:13 PM8/6/13
to linux...@googlegroups.com
If your board is not listed then you need to add it.

http://linux-sunxi.org/Submitting_Boards
> 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

Ford FasteRR

unread,
Aug 7, 2013, 11:42:43 AM8/7/13
to linux...@googlegroups.com
Any news on when the fedora 18 image will support usb 1.0 devices on MK802s ?

I can't get it to read my arduino =(

Hans de Goede

unread,
Aug 7, 2013, 1:06:39 PM8/7/13
to linux...@googlegroups.com, Ford FasteRR
Hi,

On 08/07/2013 05:42 PM, Ford FasteRR wrote:
> Any news on when the fedora 18 image will support usb 1.0 devices on MK802s ?

I have looking into this on my todo list, once I actually get around to it
I'll have more news (hopefully good news).

> I can't get it to read my arduino =(

In the mean time you can insert a (simple, unpowered) ubs-2 hub and plug your
usb-1 devices into that, that works for me and most others.

Regards,

Hans

Hans de Goede

unread,
Aug 10, 2013, 12:00:08 PM8/10/13
to linux...@googlegroups.com, Ford FasteRR
Hi,

On 08/06/2013 04:22 PM, Ford FasteRR wrote:
> I just set this up on an MK802s (sun5i) but I can only see 512 mb ram:
>
> [root@localhost log]# free -m
> total used free shared buffers cached
> Mem: * 483* 356 126 0 42 224
> -/+ buffers/cache: 90 393
> Swap: 499 0 499
>
> Any ideas for how to get it to give me all of the true available system ram?

Can you please try with the Fedora-19 image? And make sure you use select-board.sh
to install the correct, uboot etc. In the menu it presents select the mk802_a10s.

I've just tried to reproduce this problem using the F-19 image, and it shows
1G of RAM as expected for me.

Regards,

Hans

encol

unread,
Aug 23, 2013, 5:43:50 PM8/23/13
to linux...@googlegroups.com
Hi,
i've tried the Fedora-18-a10-armhfp-r2.img.xz on this tablet: http://smartpad.mediacomeurope.it/Prodotti/Specs.aspx?XRC=M-MP1010I
but the tablet doesn't boot. I selected the A10-mid board but i get blank screen.
Since i don't have an hdmi device, i replaced the script.bin with the one of another linux distro which works on my tablet.
With this script.bin, on the other linux distro the output is sent on the display, but with this doesn't work.
Can you help me?

gyo...@pocavoce.com

unread,
Sep 12, 2013, 4:08:14 PM9/12/13
to linux...@googlegroups.com
I am tryin to install your Fedora build on the H6 Netbook.

To create the SD card for installation, I am running Fedora 19 386 (32-bit) in VMWare Player 6.0.0. The commands:

xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/mmcblk0
sync

run without error. When I remove and reinsert the SD card, I don't see it mount automatically, so I try to mount it manually:

mount /dev/sdb1 /mnt/sd

To which I get the error:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.

None of my disk utilities, including MiniTool Partition Wizard Professional 7.8, recognize the formatting on the card. Windows now asks me if I want to format the card, but fails to format when attempted.

What am I doing wrong? Please speak slowly and use little words - while I am an experienced embedded systems engineer, I haven't used much Berkely Unix in 25 years and used very little Linux.

gyo...@pocavoce.com

unread,
Sep 12, 2013, 9:10:23 PM9/12/13
to linux...@googlegroups.com
I am trying to install Fedora 19 for Allwinner A10 on an H6 Netbook. I am following the instructions to create an SD card for the installation using Fedora 19 (i386) running on VMWare Player 6.0.0 running on Windows 7 (64 Bit).

These commands run without error:

xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/sdb1
sync

I remove and insert again the SD card, which does not appear to mount automatically. So I try to mount it manually:

mount /dev/sdb1 /mnt/sd

To which I receive the error message:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.

Minitool Partition Wizard Pro 7.8 says the card has only one partition of unknown format. Windows asks if I want to format the SD card, but fails when a format is attempted.

What am I doing wrong?
How likely is the problem I’m trying to format the SD through emulation?
Have other done this successfully using VMware Player?

Please speak slowly and use small words – while I’m an experienced embedded systems developer, I am not a Linux jockey.

Hans de Goede

unread,
Sep 13, 2013, 5:31:42 AM9/13/13
to linux...@googlegroups.com, gyo...@pocavoce.com
Hi,
This sounds to me like you're using a broken sdcard, try using a different sdcard.

Regards,

Hans

Adam Sampson

unread,
Sep 13, 2013, 5:58:38 AM9/13/13
to linux...@googlegroups.com, gyo...@pocavoce.com
gyo...@pocavoce.com writes:

> These commands run without error:
> xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/sdb1
> sync

You want "/dev/sdb" rather than "/dev/sdb1" there. /dev/sdb is the whole
disk; /dev/sdb1, /dev/sdb2 etc. are the partitions inside it. Hans'
Fedora image is of a whole disk including the partition table.

(Similarly, if you had a machine where the SD card showed up as
/dev/mmcblk0, then you'd want to use that rather than the partitions
inside it which are /dev/mmcblk0p1 etc.)

You're also using an old image file there -- there are two newer
releases available:
http://scotland.proximity.on.ca/contrib-images/hansg/

Thanks,

--
Adam Sampson <a...@offog.org> <http://offog.org/>

Greg Young

unread,
Sep 17, 2013, 9:46:19 PM9/17/13
to linux...@googlegroups.com, gyo...@pocavoce.com

On Friday, September 13, 2013 2:58:38 AM UTC-7, Adam Sampson wrote:

gyo...@pocavoce.com writes:

> These commands run without error:
> xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/sdb1
> sync

You want "/dev/sdb" rather than "/dev/sdb1" there. /dev/sdb is the whole
disk; /dev/sdb1, /dev/sdb2 etc. are the partitions inside it. Hans'
Fedora image is of a whole disk including the partition table.

(Similarly, if you had a machine where the SD card showed up as
/dev/mmcblk0, then you'd want to use that rather than the partitions
inside it which are /dev/mmcblk0p1 etc.

Thanks Adam, redirecting the output to /dev/sdb rather than /dev/sdb1 did the trick!
 

bre...@gmail.com

unread,
Oct 15, 2013, 8:54:39 AM10/15/13
to linux...@googlegroups.com, gyo...@pocavoce.com

Hi friends,
This is a great project!

I run into a similar situation, stuck at step 5 where the system cannot detect or mount the partitions. THe SD is not broken, as I managed to reformat it many times using an android cell phone.
I wonder if this process has to be done using fedora OS? cause i run all trough puppy linux.
Also, maybe my board isnt compatible? Its an A13, Yeahpad (seems to be listed as Q88 under the linux sunxi site.)

Thanks so much!

decio....@gmail.com

unread,
Oct 15, 2013, 9:56:32 AM10/15/13
to linux...@googlegroups.com
Hi Guys, Hi Hans!!! Great job on that!!!!

Unfortunately the download links for Fedora-18-a10-armhfp-r2.img.xz are broken... =(

http://burnbit.com/torrent/249552/Fedora_18_a10_armhfp_r2_img_xz - BROKEN
http://scotland.proximity.on.ca/contrib-images/hansg/Fedora-18-a10-armhfp-r1.img.xz - BROKEN

Could you please send a online link to download the image??

Thanks in advance.

regards,
Decio.

Günter Dürr

unread,
Nov 1, 2013, 7:03:09 AM11/1/13
to linux...@googlegroups.com
Hi,

i have installed the newest version Fedora-19-a10-armhfp-r2.img.xz on a 8GB SD-Card
from Scandisk and it hangs when the board boot. I use the A13-OLinuXino-WIFI with 7" LCD.
I installed the image a couple of times with no success.

With the former version Fedora-19-a10-armhfp-r1.img.xz and the F18 r1 + r2
i had no problems.

Guedue

Hans de Goede

unread,
Nov 1, 2013, 8:59:36 AM11/1/13
to linux...@googlegroups.com
Hi,

On 11/01/2013 12:03 PM, G�nter D�rr wrote:
> Hi,
>
> i have installed the newest version Fedora-19-a10-armhfp-r2.img.xz <http://scotland.proximity.on.ca/contrib-images/hansg/Fedora-19-a10-armhfp-r2.img.xz> on a 8GB SD-Card
> from Scandisk and it hangs when the board boot. I use the A13-OLinuXino-WIFI with 7" LCD.
> I installed the image a couple of times with no success.
>
> With the former version Fedora-19-a10-armhfp-r1.img.xz and the F18 r1 + r2
> i had no problems.

Know issues which is fixed in F19 r3 which is available here:
http://people.fedoraproject.org/~jwrdegoede/a10-images/

Regards,

Hans

Günter Dürr

unread,
Nov 3, 2013, 6:14:14 AM11/3/13
to linux...@googlegroups.com
Thanks Hans!

F19 r3 starts now. I choose A13 with LCD 7 and the LCD screen works,
also brightness and contrast are perfect.

Still waiting on touchscreen support.

Guenter





Am Sonntag, 17. Februar 2013 08:29:18 UTC+1 schrieb Hans de Goede:

afonso...@gmail.com

unread,
Nov 16, 2013, 1:57:05 PM11/16/13
to linux...@googlegroups.com

Hi,
i just installed fedora 19 r3 to my sdcard and i got 2 problems, wireless and touch, touch is not that much of a problem though id like to have it(i have yet to try to compile the drivers), my wireless card is an rtl8187 and i tried to insmod the .ko but i got an error (Unknown symbol in module) i dont know how to solve this but i got an output of dmesg -c which i read it can be used to help solve the problem and this is what came out http://pastebin.com/0Jh512Um

please help me im not much of a linux expert but i have learned alot just by trying to compile kernels and messing around with .ko to try and get touch and wirless on my tablet.

The tablet is an A13-MID wich i got from dx.com

Srikant Patnaik

unread,
Nov 28, 2013, 7:46:59 AM11/28/13
to linux...@googlegroups.com

Hello all, 

I’m using fedora on H6 netbook(A10, 10"), and it works well.
When I use the fedora config file and compile uImage and modules it works well on fedora, but doesn't work at all with Ubuntu.
Can anyone help on this. Do I have to disable some features ?

It says:
init: plymouth main process (48) terminated with status 127
ctp_fetch)sysconfig_para: ctp_unused

It stays there forever.

Thanks

Julian Calaby

unread,
Nov 28, 2013, 5:28:37 PM11/28/13
to linux...@googlegroups.com
Hi Srikant,

On Thu, Nov 28, 2013 at 11:46 PM, Srikant Patnaik
<u.srikan...@gmail.com> wrote:
> Hello all,
>
> I’m using fedora on H6 netbook(A10, 10"), and it works well.
> When I use the fedora config file and compile uImage and modules it works
> well on fedora, but doesn't work at all with Ubuntu.
> Can anyone help on this. Do I have to disable some features ?
>
> It says:
> init: plymouth main process (48) terminated with status 127
> ctp_fetch)sysconfig_para: ctp_unused
>
> It stays there forever.

I believe that's a known issue in the Linaro builds. It certainly was
when I was trying to run them.

Thanks,

--
Julian Calaby

Email: julian...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

nej...@gmail.com

unread,
Jan 7, 2014, 11:20:04 AM1/7/14
to linux...@googlegroups.com
DEAR HANS:

JUST CAME ACROSS THIS FANTASTIC GROUP AND DOWNLOADED THE LAST VERSION OF FEDORA.

I HAVE 2 CHEAP CHINESE TABLETS, BOTH 7" AND A13 BASED.

RUNNING ANDROID VERY HAPPY.

WITH THE FEDORA AND USING THE a13_mid CONFIG BOARD, BOTH TABLETS BOOTS FANTASTIC.

HOWEVER, NONE OF THEM DETECTS THE WIRELESS WI-FI INTEGRATED ADAPTER.

ANY SUGGESTION ON HOW CAN I HAVE WI-FI WORKING ON THIS TABLETS? I NEED TO HAVE ACCESS TO THEM THROUGH SSH OR TELNET SO I CAN UPLOAD MY CODE AND RUN MY PROGRAMS.

THE OTG USB WORKS FINE WITH MY WIRELESS MOUSE/KEYBOARD ATTACHED.

THANK YOU VERY MUCH !!!!!

LOOK FORWARD TO YOUR COMMENTS.

NELSON/
Reply all
Reply to author
Forward
0 new messages