初步成果如下圖:
未來希望能將這類工作簡化。最好一小時就能完成。
當執行 psql 時,$sudo -u postgres bash
$createuser -DRS joe
$createdb -O joe joework
$psql -U joe -W joework
$dropdb joework當執行 psql 時,
$dropuser joe
$createuser -DPRS joe
$createdb -O joe joework
$psql -U joe -W joeworkpsql: FATAL: Peer authentication failed for user "joe"
# "local" is for Unix domain socket connections only重新啟動 postgresql,因為我未使用 systemd,因此執行:
#local all all peer
local all all md5
$sudo service postgresql restart再次執行 psql,
$psql -U joe -W joework成功。
$ wget -c https://launchpad.net/linaro-toolchain-binaries/trunk/2013.07/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux.tar.xz $ tar xJf gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux.tar.xz $ export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-確定是 32bit 版本: $ {CC}gcc --version 取得最新版的 u-boot: $ git clone git://git.denx.de/u-boot.git $ cd u-boot/ $ git checkout v2013.07 -b tmppatch 後進行編譯: $ wget -c https://raw.github.com/eewiki/u-boot-patches/master/v2013.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch $ patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch $ make ARCH=arm CROSS_COMPILE=${CC} distclean $ make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config $ make ARCH=arm CROSS_COMPILE=${CC}接下來編譯 kernel,在此不使用作者提供的 git.sh, 因曾無法 git clone 或 fetch from kernel.org 而出問題。而且未來將針對特定的 branch 進行 patch。作法如下:
在 linux-dev 中執行 git checkout origin/am33x-v3.2 -b tmp| 測試 | 測試內容 | Chrome 24 | Firefox 18 |
|---|---|---|---|
| Richards | Core language features | 10474 | 8991 |
| Deltablue | Core language features | 13812 | 11333 |
| Crypto | Bit and math operations | 11485 | 9111 |
| Raytrace | Core language features | 14682 | 6701 |
| EarlyBoyer | Memory and GC | 23679 | 12388 |
| Regexp | Strings and Arrays | 3061 | 922 |
| Splay | Memory and GC | 4355 | 10431 |
| NavierStokes | Strings and Arrays | 15017 | 15418 |
| pdf.js | Strings and Arrays | 10237 | 3913 |
| Mandreel | Virtual machine | 10154 | 6803 |
| GB emulator | Virtual machine | 11111 | 6212 |
| CodeLoad | Loading and Parsing | 10444 | 8634 |
| Box2DWeb | Bit and math operations | 11667 | 7325 |