2013年7月6日 星期六

風迷藏

孟堯的取樣我真的滿喜歡的
而且他一直在進化

這麼好聽的團
因為鼓手貝斯離開停團還是有點難過
志翔太強了我沒自信能彈出那種tone跟動態
期待他從澳洲回來之後
重新出發的風迷藏

2013年6月9日 星期日

Remote debugging EDK2 BeagleBoardPkg on qEmu

Get ARM none EABI toolchain

arm-none-eabi-gdb included
http://www.codesourcery.com/sgpp/lite/arm/portal/package7813/public/arm-none-eabi/arm-2010.09-51-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

Get module symbol information

Check Build/BeagleBoard/DEBUG_ARMGCC/FV/FVMAIN_COMPACT.Fv.map
Get .textbaseaddress and .databaseaddress

Load symbol information

arm-none-eabi-gdb
(gdb) add-symbol-file <BEAGLEROOT>/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/DEBUG/ArmPlatformPrePiUniCore.dll 0x0080008180 -s data 0x008001b5e4

add symbol table from file <BEAGLEROOT>/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/DEBUG/ArmPlatformPrePiUniCore.dll" at
.text_addr = 0x80008180
data_addr = 0x8001b5e4
(y or n) y

Reading symbols from <BEAGLEROOT>/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/DEBUG/ArmPlatformPrePiUniCore.dll...warning: section data not found in <BEAGLEROOT>/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/DEBUG/ArmPlatformPrePiUniCore.dll
done.

Start ARM qEmu

qemu-system-arm -M beagle -s -S -serial stdio -sd beagle.img
-s for waiting for gdb connection
-S for stopping execution when qEmu starts up

Connecting qEmu using GDB

(gdb) target remote :1234
Remote debugging using :1234
0x40014000 in ?? ()

Example

(gdb) b _ModuleEntryPoint
Breakpoint 1 at 0x80008188: file /home/kurt/programming/edk2/src/beagle/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/Arm/ModuleEntryPoint.iii, line 39.

Connecting qEmu using DDD

sudo apt-get install ddd
ddd --debugger arm-none-eabi-gdb

In DDD using GDB command line

Get module symbol information
Load symbol information
Connecting qEmu using GDB




2013年6月7日 星期五

Build EDK2 BeagleBoardPkg on Mac OS X

Install XCode


Install MacPorts


Install ARM toolchain 

sudo port install arm-none-eabi-gcc 

Within Darwin section in  BeagleBoardPkg/build.sh

Change XCODE32 to ARMGCC

Build

./build.sh

Linaro image tools for Mac OS X

Not available yet
https://bugs.launchpad.net/linaro-image-tools
My workaround is making image on the Ubuntu and load it to Mac
Looking forward tools for Mac OS X
Temporarily switch back to Ubuntu 

Build and install Linaro qEmu on Mac OS X

Download source code

https://launchpad.net/qemu-linaro/

Configure and build 

./configure --target-list=arm-softmmu \
--prefix=/Users/<user_name>/qemu/linaro/1.4.0-2013.03/

make

Tricky modification and install

Search LIBTOOL in config-host.mak
Change libtool to glibtool

make install

2013年6月6日 星期四

Build and install Linaro qEmu on Ubuntu

Install necessary packages

sudo apt-get install build-essential autoconf libtool libpixman zlibc libsdl-dev libsdl1.2-dev texinfo

Download and unpack Linaro qEmu

tar zxf qemu-linaro-<version>.gz

Build and install Linaro ARM qEmu

mkdir -p /home/<user_name>/bin/qemu/linaro-<version>/
cd $QEMU-LINARO-<version>-ROOT
./configure --target-list=arm-softmmu,arm-linux-user --prefix=/home/<user_name>/bin/qemu/linaro-<version>/arm
make 
make install

ARM EABI big endian

./configure --target-list=arm-softmmu,armeb-linux-user --prefix=/home/<user_name>/bin/qemu/linaro-<version>/armeb

Build BeagleBoardPkg using gcc-arm-linux-gnueabi

Install ARM EABI GCC

sudo apt-get install gcc-arm-linux-gnueabi

Modification in BeagleBoardPkg/build.sh

#
# Pick a default tool type for a given OS if no toolchain already defined
#
...
#TARGET_TOOLS=ARMGCC
TARGET_TOOLS=ARMLINUXGCC
...

undefined reference to `__stack_chk_fail'
undefined reference to `__stack_chk_guard'

Append -fno-stack-protector to DEBUG_ARMLINUXGCC_ARM_CC_FLAGS
Append -fno-stack-protector to RELEASE_ARMLINUXGCC_ARM_CC_FLAGS

2013年6月3日 星期一

海洋音樂祭 2013 海洋獨立音樂大賞 會前賽 @ 淡水

看到很多優缺點學習了很多
純屬個人意見
歡迎"討論" ^^

開場:IO

聲音平衡當天聽下來是平均以上
表演畫面也是協調的
歌迷很熱情
IO結束後就一哄而散
貝斯聲音還滿喜歡
是場穩健的表演

一:P!SCO缺席

戰略性調整賽程日期?

二:北極光

溫溫的穩穩的沒有特別突出
貝斯手有些律動感

三:許書豪

一個人用木吉他和Loop機器表演
看起來有點單薄
第一首歌低頻調錯音
旋律、和聲、貝斯到節奏一人包辦
第三手和聲編寫豐富
整體律動好聽

四:鹿角

聽到主持人介紹funk, rock, blues的結合會期待
但會前賽的歌都比較軟
律動是鬆的
我想聽緊的
團員協調感好

五:陳冠銓

不知何故吉他在外場整個不見
聲響彷彿變成基音樂團
電子琴的低頻跟貝斯打架
主唱有試圖展現唱功
團員組成有點違和感
吉他手染金長髮金屬味濃厚
貝斯手緊身褲彩色護腕運動感十足
律動不太協調

六:蜜糖女郎

Rockabilly風味的樂團
很可惜的第五團吉他出問題之後
蜜糖女郎的吉他手聲音也出不來
表現整體是好的

七:小豬撲滿

女主唱有點可愛
彌補了音準的不足
團員有點放不開
第三首歌水煮牛編得好聽
貝斯手法俐落

八:中Tone

唱功像是唱KTV但是很開朗的主唱
熱情一直不斷感染而來有點感動
鼓手對Program還不夠熟
貝斯手編曲有點豐富

九:暗黑白領階級

主唱的音色有亮點
鼓手律動好聽編曲不落俗套
把整個團的律動襯托出來
客語歌詞與小喇叭讓人有印象
有首是Shuffle不過吉他手刷成16分拍不明顯
整體是會讓人印象深刻樂團

十:文藝復興

主唱聲樂底共鳴直穿人肺部
舉止優雅端莊但表演時不只佇立唱歌
還會跟隨節奏搖擺
團員律動一致
貝斯渾厚有力包圍整場
以歌德力量金而言
吉他tone有點客氣
小鼓有點客氣
是好聽的金屬團