O HAI THIS BLOG PURPZIEZ 2 B UZED AZ MAH PLESIOUS MEM. :)

2007/05/20

wc -l XXXXwrapper

ユーザーランドのSMEと称してPCI LB経由でHardMAC内部のレジ
スタを直にモニョれる様に改造したnet-wireless/wireless-tools
を使いまくって,sh(1p)+sed(1p)+awk(1p)なのに蝶unportable
なinitスクリプト作成中. :P
[Due to with modified net-wireless/wireless-tools which can
handle raw HardMAC register operation via PCI LB, t3h init script
as userland SME which I'm coding is really unportable even if it
only uses sh(1p), sed(1p) and awk(1p). :P]

なんか1300 SLOCを超えているんですが,罠ですか?
そうですか. :DDD
[Well, it's over 1300 physical SLOC though. I'd heve to say "O RLY?"
and "YA RLY!" :DDD]

2007/05/11

oldlibc.float.karma--; netdev.watchdog.karma--;

TSSIのRSSIへの回り込みはAGCのステートマシンをムニョって誤摩化した.
が,新たに二つ問題が発生.一つは解決済み,一つは原因を調査中.
[T3h TSSI/RSSI mixing issue, I worked around it by modifed FSM of AGC.
Meh, 2 new PITAs commin'. One of these were fixed, another one's progress
is still incestigating.]

前者は古いlibcをSH4なんつーマイナーなアーキテクチャで使用している為,
floatな演算が全部死んでいると言う悪夢.struct timevalの精度がusなので,
適当に10^6倍して整数で計算すると言うチキンな逃げもあったが,SoftFloat
をstdint.hでportしたブツでモニョった.Softfloatのライセンスに限ったモノ
でもないけれど,ライセンス云々はWTFPL以外ヨクワカンランし,詳細を
理解する気もあんまり無いので,後で叩かれない様にportしたブツはこの辺
に晒しておく.
[Former is due to old libc on SH4, a minor arch. It results nightmate of totally
invalid floating point arithmetic operation. As you know, resolution of struct
timeval is us, so in my case, to x10^6 w/ integer operation is enough to work
around this crap, how chicken though. To be no chicken is better I thought,
then I've poked it w/ SoftFloat portion w/ stdint.h. Any license is not easy to
understand its detail, except WTFPL IMHO. To prevant license violation, t3h
portion of SoftFloat is stuffed here.]

後者はSoftMACがnetdev watchdogなtransmission timeoutになる事.
多分,PCI DMA関連がハードもソフトも腐っているからだろうけど,
取り敢えず,要調査.
[Latter is a SoftMAC issue about netdev watchdog transmission faults
due to its timeout. Guess b/c PCI DMA's software/hardware suck0rz.
Anyway I'll fix ASAP.]

2007/05/08

#if DUMB_RF_CHIP #include <tssi.h> #endif

"ごーるでんうぃーく"後半,しゅーりょー.
結局,
  • 400ml献血.
    前と検査方法がちと変わっていた.

  • ALSA AOAをムニャるが,ダメっぽい.
    さすがflameeyes様,release candidateでもなんともならんぜよ. :DDD
    gcc-4.1.2で-Osなんぞかましているからかもしれん.

  • 土曜日の明け方に寝たら,日曜日の夜に起きたので,
    Overlayおよび~arch化は依然放置プレイ中. :P

つー感じでした.
[Last half of GW was over.
  • 400ml blood donated.
    T3h test method has been changed.

  • ALSA AOA still rock0rz.
    Gosh flameeyes, any release candidate won't help. :DDD
    Guess gcc-4.1.2 + -Os breaks some core stuffs?

  • Went to bed at dawn of Sat, awaked at night of Sun.
    So Overlay and ~arch-nize has little progress. :P
]

で,次期AGCのコアとなる有理数型演算マクロを土日に寝ながら妄想.
やっぱ徐算が問題,ニュートン-ラプソン法+二進約分で何とかなるかな?
[Then, I thought some idea of next AGC core, rational OPs' macro in
my sleep. Yup, DIV may be kinda PITA, Newton-Raphson method +
binary reduction may help, or?]

で,SoftMACでOOPSしない様に負荷をかけつつ,HardMACをオシロや
ロジアナでムニャへニャすると,TSSIがRSSIに回り込んでいる事が発覚.
そこで回り込みですか,まじか. :(((
[So, I've continue the HardMAC stress test w/ oscilloscope and logic
analyzer. Blah, RSSI includes TSSI... Ugh, dumb fall through, ZOMG. :(((]

2007/05/04

grabOOPS(&DMARBuf) ? DMARBuf.karma-- : DMARBuf.karma++;

"ごーるでんうぃーく"前半も終了しましたが如何がお過ごしでしょうか?
[Half of GW was over, sup ppl?]

受信側PHY下位層のゲイン調整マクロAGCの内部のステートマシンを修正.
送受信PHY下位層の直交変調復調マクロMODU/DMODUのオーバーフローを処理.
受信側PHY内部の周波数誤差補正マクロAFCのオーバーフローを処理.
送受信PHY内部のIFFT/FFTマクロのゲインを調整.
HARD_MAC/PHY間のインターフェースマクロMACIFを修正.
PCI LB/HARD_MAC間のインターフェースマクロBA_BUS_ADPを修正.
その他,色々.
[Under reception PHY, fix0rz FSM of AGC.
Under transmission/reception PHY, purge0rz OVR of MODU/DMODU.
Inside reception PHY, fix0rz OVR of AFC.
Inside transmission/reception PHY, tune0rz gain of IFFT/FFT.
Boundary of HARD_MAC/PHY, fix0rz semantics of MACIF.
Boundary of HARD_MAC, fix0rz semantics of BA_BUS_ADP.
Blah, blah, blah.]

で,やっとこさ,SoftMAC側の負荷試験が出来るなーとか思いつつ,
おもむろに"ping -f"とか"ping -s"を実行.
SoftMAC内部のPCI DMAのリングバッファがOOPSするbugが発覚.
そこでOOPSですか,まじか. :(((
[K, It's time of SoftMAC stress test.
"ping -f" and "ping -s" really sound rock.
T3h PCI DMA ring buffer sez OOPS.
Well, OOPS? O RLY? :(((]

最近,土日も関係無く仕事で,"ごーるでんうぃーく"前半をアレな感じで
フル出場してしまったので,「お前,休めよ」とボスからも"待った"を入れられる.
そこで強制休暇ですか,まじか. :DDD
[Meh, so half of GW was over now, kinda sucks.
My boss sez "U must have hols".
Well, U force me? O RLY? :DDD]

以下,"ごーるでんうぃーく"後半のTODO.
  • 献血する

  • ALSA AOAが死ぬのでムニャる

  • 放置プレイしていたOverlayをモニョる

  • ~archな先っぽでヘニャる

[Here is TODO of my last half of GW.
  • blood donation

  • Fix ALSA AOA

  • Update my Overlay

  • Play w/ ~arch
]