close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libffi.so.6: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Aug 13, 2009, 9:35:45 PM (16 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v9
|
v10
|
|
| 3 | 3 | * [http://coscup.org/2009/zh_tw/program COSCUP 2009 議程] |
| 4 | 4 | * 目前覺得比較新穎的是 [http://arduino.tw/ Arduino] 這塊開放電路的板子 跟 [http://sourceforge.net/projects/lfdk/ Linux Firmware Debug Toolkit (LFDK)]([http://merckhung.blogspot.com/2009/03/linux-firmware-debug-kit.html 說明]) (LFDK 同名的 [http://linuxfirmwarekit.org/ Linux Firmware Developer Kit]) |
| | 5 | * 剛好 rider 也看到這篇 "[http://hackaday.com/2008/11/02/wireless-arduino-programming-with-zigbee/ Arduino 跟 ZigBee 的整合]" |
| 5 | 6 | |
| 6 | 7 | * [http://vwn1.nchc.org.tw/userdoc/ NCHC 研發虛擬工作區使用者手冊] |
| … |
… |
|
| 30 | 31 | * [http://php.opensourcecms.com/ Open Source CMS] - 整理現有自由軟體的 CMS 有哪些 |
| 31 | 32 | |
| | 33 | == BIOS == |
| | 34 | |
| | 35 | * [http://www.pixelbeat.org/docs/bios/ Updating the BIOS using linux] - 這個作者畫的圖都蠻不錯的 |
| | 36 | * [[Image(http://www.pixelbeat.org/docs/bios/bios.png,width=400)]] |
| | 37 | * BIOS 有兩個部分,一個是 Flash ROM,一個是 CMOS NVRAM 用電池來維持裡面的資料 |
| | 38 | * http://www.openfirmware.info/ - OpenBIOS |
| | 39 | * http://www.coreboot.org/ - coreboot (舊稱 LinuxBIOS) |
| | 40 | * [http://openbios.info/FlashRom flashrom] - 在 Linux 底下更新 BIOS 的工具(1) |
| | 41 | * [http://www.uniflash.org/ uniflash] - 在 Linux 底下更新 BIOS 的工具(2) |
| | 42 | * [[Image(http://www.pixelbeat.org/docs/bios/nvram.png,width=400)]] |
| | 43 | * nvram 總共 128 bytes,前面 14 bytes 是留給 ACPI Real Time Clock (RTC),後面 114 byte 留給 system firmware |
| | 44 | {{{ |
| | 45 | $ sudo modprobe nvram |
| | 46 | $ sudo cat /proc/driver/nvram |
| | 47 | }}} |
| | 48 | |
| | 49 | == Boot Loader 開機程序 == |
| | 50 | |
| | 51 | * [http://www.pixelbeat.org/docs/disk/ Details of GRUB on the PC] - 這個作者畫的圖都蠻不錯的 |
| | 52 | * [[Image(http://www.pixelbeat.org/docs/disk/grub.png,width=400)]] |
| | 53 | |
| 32 | 54 | == Shutdown Procedure 關機程序 == |
| 33 | 55 | |
| … |
… |
|
| 41 | 63 | * 在 "[http://www.mythtv.org/wiki/Shutdown_Wakeup MythTV Shutdown Wakeup]" 一文中提到一個軟體叫做 "[http://nvram-wakeup.sf.net nvram-wakeup]" ([http://packages.debian.org/nvram-wakeup deb套件])可以修改 BIOS 裡面的預約開機時間 |
| 42 | 64 | * 在 "[http://www.mythtv.org/wiki/ACPI_Wakeup MythTV ACPI Wakeup]" 一文中,提到很多背景知識: |
| 43 | | * 要使用 ACPI Wakeup 機制,必須 (1) 設定 BIOS (2) 關閉 hwclock 更新 (3) |
| | 65 | * 要使用 ACPI Wakeup 機制,必須 (1) 設定 BIOS (2) 關閉 hwclock 更新 (3) 設定 Wakeup Alarm |
| | 66 | {{{ |
| | 67 | #!diff |
| | 68 | --- /etc/default/rcS 2009-08-13 20:09:51.000000000 +0800 |
| | 69 | +++ /etc/default/rcS.bak 2009-08-13 20:09:34.000000000 +0800 |
| | 70 | @@ -15,4 +15,3 @@ |
| | 71 | FSCKFIX=no |
| | 72 | RAMRUN=no |
| | 73 | RAMLOCK=no |
| | 74 | -HWCLOCKACCESS=no |
| | 75 | }}} |
| 44 | 76 | * Kernels 2.6.22 and newer use /sys/class/rtc/rtc0/wakealarm |
| 45 | 77 | * Kernels 2.6.21 and older use /proc/acpi/alarm |
| … |
… |
|
| 51 | 83 | * 相關核心參數 |
| 52 | 84 | {{{ |
| 53 | | CONFIG_HPET_EMULATE_RTC=y |
| 54 | | CONFIG_RTC_LIB=y |
| 55 | | CONFIG_RTC_CLASS=y |
| 56 | | CONFIG_RTC_HCTOSYS=y |
| | 85 | # RTC interfaces |
| 57 | 86 | CONFIG_RTC_INTF_SYSFS=y |
| 58 | 87 | CONFIG_RTC_INTF_PROC=y |
| 59 | 88 | CONFIG_RTC_INTF_DEV=y |
| | 89 | # Platform RTC drivers |
| 60 | 90 | CONFIG_RTC_DRV_CMOS=y |
| 61 | 91 | }}} |
| … |
… |
|
| 102 | 132 | }}} |
| 103 | 133 | |
| | 134 | == Embedded == |
| | 135 | |
| | 136 | * [http://arduino.org/ Arduino] - 開放電路設計的實驗板,採用低價格的微處理控制器(ATMEGA8-16),約台幣 120 ~ 150 |
| | 137 | * 從 ATMEGA8-16 晶片型號看來應該是 8 位元的單晶片。[http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf Datasheet] 寫 Low-power AVR® 8-bit Microcontroller。 |
| | 138 | * 我先前一直有印象 Amtel AVR 晶片可以移植 Linux - [http://avr32linux.org/ AVR32 Linux] |
| | 139 | * [http://paul.graysonfamily.org/thoughts/avrlinux/ Linux Atmel AVR Tutorial] |
| | 140 | * [http://www.linuxjournal.com/article/7289 Developing for the Atmel AVR Microcontroller on Linux] |
| | 141 | |
| 104 | 142 | == 職場技能 == |
| 105 | 143 | |