• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revision456d2868d19bddd534226fc7502f2f9b546eaf3e (tree)
Time2010-08-05 11:21:23
AuthorOwen Kwon <pinebud@gmai...>
CommiterOwen Kwon

Log Message

added psb, libertas setting for S5

Change Summary

Incremental Difference

--- a/initrd/scripts/0-auto-detect
+++ b/initrd/scripts/0-auto-detect
@@ -111,6 +111,14 @@ samsung_info()
111111 LANDEV=b44
112112 }
113113
114+s5_info()
115+{
116+ PREDEV=snd-hda-codec-realtek
117+ SNDDEV=snd-hda-intel
118+ [ -c /dev/fb0 ] || FB0DEV=psb
119+ WIFDEV=libertas_sdio
120+}
121+
114122 vbox_info()
115123 {
116124 LANDEV=pcnet32
@@ -152,6 +160,13 @@ detect_hardware()
152160 get_info=vmware_info
153161 ;;
154162 *)
163+ case "$androidboot_hardware" in
164+ *s5*)
165+ get_info=s5_info
166+ ;;
167+ *)
168+ ;;
169+ esac
155170 ;;
156171 esac
157172 [ -n "$get_info" ] && $get_info && FOUND=1
@@ -189,7 +204,12 @@ load_modules()
189204 for m in $PREDEV $EXTMOD $BTDEV; do
190205 modprobe $m
191206 done
192- [ -n "$FB0DEV" -a -z "$UVESA_MODE" ] && modprobe $FB0DEV
207+ [ a"$FB0DEV" == "apsb" ] && modprobe i2c-algo-bit
208+ [ a"$FB0DEV" == "apsb" ] && insmod /system/lib/modules/drm.ko
209+ [ a"$FB0DEV" == "apsb" ] && mkdir -p /lib/firmware
210+ [ a"$FB0DEV" == "apsb" ] && cp /system/lib/firmware/msvdx_fw.bin /lib/firmware/
211+ [ a"$FB0DEV" == "apsb" ] && insmod /system/lib/modules/psb.ko
212+ [ a"$FB0DEV" != "apbs" -a -n "$FB0DEV" -a -z "$UVESA_MODE" ] && modprobe $FB0DEV
193213 [ -n "$LANDEV" ] && modprobe $LANDEV
194214 [ -n "$WIFDEV" ] && modprobe $WIFDEV
195215 [ -n "$SNDDEV" ] && modprobe $SNDDEV