很早之前買過一個ZLG的開發版,挺便宜的。帶液晶屏和擴展板才120元。
拿來做些小玩意兒玩兒。最近移植madplay讓板子支持mp3音樂播放,音質還不錯!
cd /home/yang/imax283/ctools/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin
export PATH=$PATH:$(pwd)
echo $PATH
編譯zlib-1.2.3.tar.gz
./configure --prefix=/home/ban/imax283/madplay/source CC=arm-fsl-linux-gnueabi-gcc AR=arm-fsl-linux-gnueabi-ar rc
RANLIB=arm-fsl-linux-gnueabi-ranlib
./configure --prefix=/home/ban/imax283/madplay/source --shared
編譯libid3tag-0.15.1b.tar.gz
./configure --host=arm-fsl-linux-gnueabi --disable-debugging --prefix=/home/ban/imax283/madplay/source CPPFLAGS=-
I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib
編譯libmad-0.15.1b.tar.gz
./configure --host=arm-fsl-linux-gnueabi --disable-debugging --prefix=/home/ban/imax283/madplay/source CPPFLAGS=-
I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib
sed -i '/-fforce-mem/d' configure
make
make install
編譯madplay
./configure --host=arm-fsl-linux-gnueabi CC=arm-fsl-linux-gnueabi-gcc --disable-debugging --with-alsa CPPFLAGS=-I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib