| Version 15 (modified by divx118, 2 years ago) |
|---|
The GPL (and other FOSS) sources from Archos have been checked into git for convenient patching and access:
http://gitorious.org/archos-buildroots/gen8
Notes for current Angstrom build on Gen8
* join #openaos on FreeNode? irc for help
Audio
enable speakers with toggle in alsamixer (to the right) export SDL_AUDIO_DRIVER=alsa in case SDL apps aren't defaulting to it.
Larger onscreen keyboard
cd /usr/share/xkbd lrwxrwxrwx 1 root root 26 Dec 21 18:06 en_US.qwerty.xkbd -> en_GB.qwerty.tabletpc.xkbd lrwxrwxrwx 1 root root 26 Dec 21 18:06 en_GB.qwerty.xkbd -> en_GB.qwerty.tabletpc.xkbd
USB networking
/etc/network/interfaces # Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr iface usb0 inet static pre-up rmmod musb_hdrc pre-up modprobe musb_hdrc mode_default=2 pre-up modprobe g_ether address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 First bring up tablet usb0 interface, then pc/laptop should appear. Before disconnecting cable, ifdown usb0 on tablet.
Control tablet with PC keyboard and mouse
install synergy client on tablet with: opkg install synergy install synergy server on PC/laptop set -use_cursor to yes in /etc/matchbox/session configure synergy on server: http://synergy2.sourceforge.net/configuration.html start synergys on PC/laptop ssh to archos and start synergy client with synergyc -f [your.server.ip.addr]
WLAN network
Kernel module released at http://gitorious.org/archos/archos-gpl-gen8/trees/master/hardware/ti/wlan/wl1271 Download the above mentioned sources. cd .../hardware/ti/wlan/wl1271/platforms/os/linux Now setup your environment by editing wl_env.bash or do it manually on the commandline in my case it was: export CROSS_COMPILE=/usr/src/gen8/buildroot/build_arm/staging_dir/usr/bin/arm-linux- export ARCH=arm export HOST_PLATFORM=zoom2 export KERNEL_DIR=/usr/src/gen8/buildroot/linux/ Then type make and wait a few minutes and you are done. The tiwlan_drv.ko will appear in .../hardware/ti/wlan/wl1271/platforms/os/linux This gives you only the module. I am still looking at how the tiwlan_loader needs to be compiled.
More info can also be found http://omappedia.com/index.php?title=Wilink_Linux&redirect=no
CPU scaling
echo ondemand /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor (throttle mhz back from 1ghz when not needed - be kind to your CPU)
Backlight control
echo 100 > /sys/devices/platform/omap_pwm_led.0/leds/lcd-backlight/brightness (values from 0-255 are accepted)
Compiling
working cflags: -O3 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ffast-math -fsingle-precision-constant
On screen kernel messages at boot up
- Remove or comment out the 'gunzip -c $BOOT_IMAGE > /dev/fb0' line in init.sh of the initramfs. - Set the 'console' kernel command line option to 'console=tty1'. (See CONFIG_CMDLINE* kernel config) NOTE: Kernel messages will disappear after the initramfs is done since bootsplash starts.
See also
A list of other efforts to get Linux distributions to run on Gen8.
- http://forum.xda-developers.com/showthread.php?t=1000081 - Debian on the 101IT
- https://wiki.kubuntu.org/ARM/Archos101it - Kubuntu on the 101IT
TODOs (help wanted!)
- mount /mnt_data writeable by user - wifi module and configuration - fix gpe Mini Web Browser - fix gpe applet for setting screen brightness - get hardware-scaled framebuffer (overlay) on lcd - switch to conservative speed governor and shorter dimming timeout when running off battery - opkg repository for archos-gen8 - fix microphone input - get oprofile running with debug / symbol info - FunAndGames: PocketSNES - FunAndGames: pcsx-rearmed - FunAndGames: picodrive - FunAndGames: dosbox (dynamic recompiler) with improved mouse support
Attachments
-
GFX_Linux_KM_Archos_Gen8.patch
(3.0 KB) - added by Niels Slot <nielsslot@…>
2 years ago.
Patch of my changes to the kernel module (and build scripts)
