Skip to content

Commit 8a39953

Browse files
committed
Add rc.local, prep for F-19 r2
Signed-off-by: Hans de Goede <[email protected]>
1 parent 25ea6d2 commit 8a39953

File tree

4 files changed

+26
-24
lines changed

4 files changed

+26
-24
lines changed

README

+16-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Quickstart guide
88
2) Make sure the card is not mounted, run "mount" and if the card shows
99
up in the output umount its partitions
1010
3) Write the img file to the card, ie as root do:
11-
xzcat Fedora-19-a10-armhfp-r1.img.xz > /dev/mmcblk0
11+
xzcat Fedora-19-a10-armhfp-r2.img.xz > /dev/mmcblk0
1212
sync
1313
4) The card is not yet ready for use! Since the A10 u-boot is board
1414
specific, the image comes without any uboot install, follow the next
@@ -35,7 +35,7 @@ Quickstart guide
3535
11a) Configure networking, note:
3636
* If you've an A10 board with wired ethernet and you want to use dhcp
3737
you don't need to do anything.
38-
* If you've an A20 board, your ethernet will have a random mac-address,
38+
* If you've an A20 board, your ethernet may have a random mac-address,
3939
so if you want to configure a static ip-address and want it to stick
4040
across reboots, go to the ethernet-tab, select the mac-address field
4141
and delete its contents, so that the static ip address you're
@@ -51,7 +51,10 @@ Supported Devices:
5151
------------------
5252

5353
Fedora 19 ARM for Allwinner A10 has been tested with the following devices:
54+
* A10s-OLinuXino-MICRO (Olimex)
55+
* A13-OLinuXino (Olimex)
5456
* A13-OLinuXino-MICRO (Olimex)
57+
* A20-OLinuXino-MICRO (Olimex)
5558
* Auxtek T003 hdmi tv stick
5659
* Auxtek T004 hdmi tv stick
5760
* BA10 TV Box
@@ -70,9 +73,6 @@ Fedora 19 ARM for Allwinner A10 has been tested with the following devices:
7073
Fedora 19 ARM should also work on the following devices:
7174
* A10 tablet sold under various names (whitelabel)
7275
* A13 tablet sold under various names (whitelabel)
73-
* A10s-OLinuXino-MICRO (Olimex)
74-
* A13-OLinuXino (Olimex)
75-
* A20-OLinuXino-MICRO (Olimex)
7676
* Coby MID7042 tablet
7777
* Coby MID8042 tablet
7878
* Coby MID9742 tablet
@@ -83,13 +83,15 @@ Fedora 19 ARM should also work on the following devices:
8383
* Hackberry development board
8484
* Hyundai a7hd tablet
8585
* iNet-97F Rev.2 (and clones) tablet
86+
* Marsboard A10
8687
* Mele A1000/A2000 512 MB RAM
8788
* Mele A3700
8889
* Mini-X 512 MB RAM
8990
* mk802 (with female mini hdmi) 1024 MB RAM
9091
* pcDuino development board
9192
* Point of View ProTab 2 IPS 9" tablet
9293
* Point of View ProTab 2 IPS tablet with 3g
94+
* Sanei N90
9395
* XZPAD700 7" tablet
9496

9597
Configuring the display output
@@ -156,34 +158,32 @@ Fedora 19 ARM for Allwinner A10 supports the following components:
156158
* CPU + PMU + RAM
157159
* Serial ports
158160
* MMC cards
159-
* Internal NAND storage (*)
161+
* Internal NAND storage
160162
* Framebuffer on lcd / vga / hdmi / composite video
161163
* Sound both analog out and over hdmi
162-
* OTG USB controller (*)
164+
* OTG USB controller
163165
* Both standard USB host controllers
164166
* Wifi
165167
* Wired Ethernet
166168
* SATA
167-
* IR (untested at this time) (*)
168-
169-
*) Not supported on A20, the A20 support in the Fedora 19 A10 images is new,
170-
and as such the driver code for these has not been forward-ported from the
171-
Allwinner source dump to the sunxi-3.4 kernel the Fedora 19 A10 images use yet.
169+
* IR (untested at this time)
170+
* SPI (as module, not supported on A20)
171+
* "tablet" keys on olinuxino boards
172+
* 7 and 10 inch lcd displays on olinuxino boards (requires selecting the
173+
right config in select-board.sh
172174

173175

174176
Unsupported hardware components:
175177
--------------------------------
176178

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

185-
*) Except for the A20
186-
187187

188188
Differences from stock Fedora
189189
-----------------------------

TODO

-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
-add rc.local to tweak cpufreq? :
2-
http://linux-sunxi.org/Cpufreq
3-
-look into A10s reboot issue (seen on various a10s boards)
4-
-look into high load issue
51
-merge sun7i nand improvements
62
-fix emac phy setup when cable gets inserted after boot (sun7i improvements)
73
-drop link wait ?
@@ -38,10 +34,6 @@
3834
source dumps)
3935
-according to a10_source_1.5 sun4i hdmi has no rx/tx ctrl just like sun7i
4036

41-
-A10s gpio-int:
42-
https://github.com/amery/linux-sunxi/commit/e94c07323b3667130eedf1f833c12ccb80fd820d
43-
Need to fix in gpio-sunxi.c as well
44-
4537
-take photos of devices + create wiki pages so people can easily identify
4638
which device they have
4739

build-boot-root.sh

+3
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ cp -p rootfs-resize.service $DESTDIR/rootfs/usr/lib/systemd/system
195195
ln -s /usr/lib/systemd/system/rootfs-resize.service \
196196
$DESTDIR/rootfs/etc/systemd/system/multi-user.target.wants/rootfs-resize.service
197197
touch $DESTDIR/rootfs/.rootfs-repartition
198+
# Add rc.local
199+
mkdir -p $DESTDIR/etc/rc.d
200+
cp -p rc.local $DESTDIR/etc/rc.d
198201
popd
199202

200203
echo

rc.local

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
echo 408000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
4+
5+
echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
6+
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
7+
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy

0 commit comments

Comments
 (0)