網樂通開機流程 - 改機

By Yuri
at 2011-03-11T15:41
at 2011-03-11T15:41
Table of Contents
只能用「雜亂無章」四個字來形容……,sh script 叫得眼花撩亂,在此稍微表
列一下:
1.U-boot 開機
2. 載入vmlinux.ub,此為STLinux的核心
3. 核心載入/etc/init.d/rcSBB (或是rcS 檔案)
4. rcS/rcSBB檔案執行到最後載入/root/run_a18.sh 檔案
所以在此之前可以先載入udhcpc跟telnetd
5. run_a18.sh 檔案裡面設了不少變數,並載入/root/modules/load_modules.sh
檔案
6. load_modules.sh大概是ST官方給的,又載入/root/modules/load_env.sh檔
案
7. load_env.sh檔案會初始化STAPI 相關的模組跟變數,結束後回到
load_modules.sh檔案
8. load_modules.sh檔案繼續載入STAPI 模組,結束後回到run_a18.sh檔案
9. run_a18.sh 檔案啟動/etc/init.d/lircd 程式,這個程式用來啟動紅外線模組
10. run_a18.sh 檔案啟動/root/bin/SCS_Server.exe,並丟到背景去,這個程式應
該是網樂通特有的,個人還不清楚作用
11. run_a18.sh 檔案啟動/root/bin/iPTV.exe,一樣丟到背景去,這個就是網樂通
的使用者介面,於是只要把這行註解掉就不會載入iPTV 而可以拿到shell
--
○ ____ _ _ _ _ ____ _ _ ____ _____ ____
。 ★(_ _)( \( )( \/ )( ___)( \( )(_ _)( _ )( _ \
o _)(_ ) ( \ / )__) ) ( )( )(_)( ) / ● ‧
(____)(_)\_) \/ (____)(_)\_) (__) (_____)(_)\_) ★
o
--
列一下:
1.U-boot 開機
2. 載入vmlinux.ub,此為STLinux的核心
3. 核心載入/etc/init.d/rcSBB (或是rcS 檔案)
4. rcS/rcSBB檔案執行到最後載入/root/run_a18.sh 檔案
所以在此之前可以先載入udhcpc跟telnetd
5. run_a18.sh 檔案裡面設了不少變數,並載入/root/modules/load_modules.sh
檔案
6. load_modules.sh大概是ST官方給的,又載入/root/modules/load_env.sh檔
案
7. load_env.sh檔案會初始化STAPI 相關的模組跟變數,結束後回到
load_modules.sh檔案
8. load_modules.sh檔案繼續載入STAPI 模組,結束後回到run_a18.sh檔案
9. run_a18.sh 檔案啟動/etc/init.d/lircd 程式,這個程式用來啟動紅外線模組
10. run_a18.sh 檔案啟動/root/bin/SCS_Server.exe,並丟到背景去,這個程式應
該是網樂通特有的,個人還不清楚作用
11. run_a18.sh 檔案啟動/root/bin/iPTV.exe,一樣丟到背景去,這個就是網樂通
的使用者介面,於是只要把這行註解掉就不會載入iPTV 而可以拿到shell
--
○ ____ _ _ _ _ ____ _ _ ____ _____ ____
。 ★(_ _)( \( )( \/ )( ___)( \( )(_ _)( _ )( _ \
o _)(_ ) ( \ / )__) ) ( )( )(_)( ) / ● ‧
(____)(_)\_) \/ (____)(_)\_) (__) (_____)(_)\_) ★
o
--
Tags:
改機
All Comments

By Daph Bay
at 2011-03-15T04:56
at 2011-03-15T04:56

By Mason
at 2011-03-17T23:27
at 2011-03-17T23:27

By Michael
at 2011-03-18T20:18
at 2011-03-18T20:18
Related Posts
隨身硬碟的相容性與使用

By Ivy
at 2011-03-11T13:35
at 2011-03-11T13:35
網樂通加強版 BusyBox

By Cara
at 2011-03-11T13:20
at 2011-03-11T13:20
70000型 無法讀ps one的備份片

By Megan
at 2011-03-11T11:20
at 2011-03-11T11:20
MultiMan的選擇與使用問題

By Carolina Franco
at 2011-03-11T09:37
at 2011-03-11T09:37
slim的破解應該快出來了

By Cara
at 2011-03-11T09:01
at 2011-03-11T09:01