debian_uboot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
debian_uboot [2012/02/06 09:14] – [Tips] dmix by default, per-app softvol trick paulf | debian_uboot [2016/10/24 15:59] (current) – [Installation and initial configuration story] fix s/set/setenv/ typo paulf | ||
---|---|---|---|
Line 3: | Line 3: | ||
Here I'm documenting my progress on using my ac100-116 "the right way". Feel free to reach me on [[help# | Here I'm documenting my progress on using my ac100-116 "the right way". Feel free to reach me on [[help# | ||
+ | **UPDATE 24 Oct 2016**: migrated the system to current upstream U-boot and Linux. Everything seems to be nice and reliable. The limitations section still applies. | ||
+ | Some notes on update: | ||
+ | * Needs the latest (from firmware git) '' | ||
+ | * Missing '' | ||
+ | * To be able to use '' | ||
+ | * '' | ||
===== Status ===== | ===== Status ===== | ||
==== What works ==== | ==== What works ==== | ||
Line 32: | Line 38: | ||
I then used my laptop and an SD card, created a single ext2 partition there and unpacked the preinstalled ubuntu rootfs. Copied the '' | I then used my laptop and an SD card, created a single ext2 partition there and unpacked the preinstalled ubuntu rootfs. Copied the '' | ||
- | I boot the u-boot.bin via putusb, then < | + | I boot the u-boot.bin via putusb, then < |
Logged in, set password to 1, start '' | Logged in, set password to 1, start '' | ||
Line 44: | Line 50: | ||
The resulting system should be bootable with | The resulting system should be bootable with | ||
< | < | ||
- | mmc dev 0; ext2load mmc 0 0x408000 uImage; ext2load mmc 0 0x1408000 initramfs; | + | mmc dev 0; ext2load mmc 0 0x408000 uImage; ext2load mmc 0 0x1408000 initramfs; |
</ | </ | ||
Line 50: | Line 56: | ||
< | < | ||
#define CONFIG_BOOTCOMMAND | #define CONFIG_BOOTCOMMAND | ||
- | " | + | " |
</ | </ | ||
to '' | to '' | ||
Line 73: | Line 79: | ||
</ | </ | ||
- | ===== Tips ===== | + | And then be sure to read suckless |
- | * To manage lid event i'm using https:// | + | |
- | * I added this to ~/ | + | |
- | < | + | |
- | ao=alsa | + | |
- | mixer-channel=Master | + | |
- | vo=x11 | + | |
- | zoom=1 | + | |
- | sws=0 | + | |
- | hardframedrop=1 | + | |
- | lavdopts=fast=1: | + | |
- | </ | + | |
- | * For watching youtube i use | + | |
- | < | + | |
- | #!/bin/sh | + | |
- | cookies_file=`mktemp / | + | |
- | rm $cookies_file | + | |
- | url=" | + | |
- | mplayer -cookies -cookies-file $cookies_file -cache 2048 $url | + | |
- | rm $cookies_file | + | |
- | </ | + | |
- | * To have automatic software mixing of sound streams copy this to ''/ | + | |
- | < | + | |
- | # default with dmix/ | + | |
- | tegra-alc5632.pcm.default { | + | |
- | @args | + | |
- | @args.CARD { | + | |
- | type string | + | |
- | } | + | |
- | type asym | + | |
- | playback.pcm { | + | |
- | type plug | + | |
- | slave.pcm { | + | |
- | @func concat | + | |
- | strings | + | |
- | } | + | |
- | } | + | |
- | capture.pcm { | + | |
- | type plug | + | |
- | slave.pcm { | + | |
- | @func concat | + | |
- | strings [ " | + | |
- | } | + | |
- | } | + | |
- | } | + | |
- | + | ||
- | </ | + | |
- | * To provide additional dedicated sound volume controls without PA add this to '' | + | |
- | < | + | |
- | pcm.softvol { | + | |
- | @args [ NAME ] | + | |
- | @args.NAME.type string | + | |
- | type softvol | + | |
- | slave.pcm " | + | |
- | control.name $NAME | + | |
- | } | + | |
- | </ | + | |
- | And use softvol:< | + | |
- | * [[http:// | + | |
- | * '' | + |
debian_uboot.txt · Last modified: 2016/10/24 15:59 by paulf