2018年9月13日 星期四
2018年8月24日 星期五
Ubuntu路徑
- Old Ubuntu release
http://old-releases.ubuntu.com/ubuntu/ - Ubuntu Updates
https://www.ubuntuupdates.org/ - gnu
ftp://ftp.gnu.org/
2018年7月31日 星期二
Embedded System Flash容量大及使用空間少時,掛載時間長
如果使用JFFS2 file system,
JFFS2 mount時需掃描整個文件系統,導致速度降低。
文件系統接近滿時,因garbage collection問題也會導致速度降低。
YAFFS2
提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完整性
原文網址:https://read01.com/oOLjnD.html
原文網址:https://read01.com/oOLjnD.html
原文網址:https://read01.com/oOLjnD.html
原文網址:https://read01.com/oOLjnD.html
JFFS2 mount時需掃描整個文件系統,導致速度降低。
文件系統接近滿時,因garbage collection問題也會導致速度降低。
YAFFS2
提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完整性
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND
Flash設計的文件系統。它採用了類日誌結構,結合NAND
Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完
原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND
Flash設計的文件系統。它採用了類日誌結構,結合NAND
Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完
原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND
Flash設計的文件系統。它採用了類日誌結構,結合NAND
Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完
原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND
Flash設計的文件系統。它採用了類日誌結構,結合NAND
Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完
原文網址:https://read01.com/oOLjnD.html
2018年4月30日 星期一
新增Linux設備(mknod)
Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR]
Create the special file NAME of the given TYPE.
Mandatory arguments to long options are mandatory for short options too.
-m, --mode=MODE set file permission bits to MODE, not a=rw - umask
-Z, --context=CTX set the SELinux security context of NAME to CTX
--help display this help and exit
--version output version information and exit
Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
must be omitted when TYPE is p. If MAJOR or MINOR begins with 0x or 0X,
it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
otherwise, as decimal. TYPE may be:
b create a block (buffered) special file
c, u create a character (unbuffered) special file
p create a FIFO
NOTE: your shell may have its own version of mknod, which usually supersedes
the version described here. Please refer to your shell's documentation
for details about the options it supports.
Create the special file NAME of the given TYPE.
Mandatory arguments to long options are mandatory for short options too.
-m, --mode=MODE set file permission bits to MODE, not a=rw - umask
-Z, --context=CTX set the SELinux security context of NAME to CTX
--help display this help and exit
--version output version information and exit
Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
must be omitted when TYPE is p. If MAJOR or MINOR begins with 0x or 0X,
it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
otherwise, as decimal. TYPE may be:
b create a block (buffered) special file
c, u create a character (unbuffered) special file
p create a FIFO
NOTE: your shell may have its own version of mknod, which usually supersedes
the version described here. Please refer to your shell's documentation
for details about the options it supports.
2017年11月22日 星期三
Make openWRT出現util-linux-2.24.1.tar.xz錯誤
Make openWRT出現底下錯誤,無法下載util-linux-2.24.1.tar.xz
/home/victor/Workspace/openwrt-sdk/scripts/download.pl "/home/victor/Workspace/openwrt-sdk/dl" "util-linux-2.24.1.tar.xz" "88d46ae23ca599ac5af9cf96b531590f" "@KERNEL/linux/utils/util-linux/v2.24"
--2017-11-22 17:03:38-- ftp://ftp.all.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.1.tar.xz
=> '-'
Resolving ftp.all.kernel.org (ftp.all.kernel.org)... failed: Name or service not known.
wget: unable to resolve host address 'ftp.all.kernel.org'
Download failed.
因下載位置已改變,修改download.pl描述的下載路徑,
由
push @mirrors, "http://ftp.all.kernel.org/pub/$dir";
改為
push @mirrors, "http://www.kernel.org/pub/$dir";
/home/victor/Workspace/openwrt-sdk/scripts/download.pl "/home/victor/Workspace/openwrt-sdk/dl" "util-linux-2.24.1.tar.xz" "88d46ae23ca599ac5af9cf96b531590f" "@KERNEL/linux/utils/util-linux/v2.24"
--2017-11-22 17:03:38-- ftp://ftp.all.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.1.tar.xz
=> '-'
Resolving ftp.all.kernel.org (ftp.all.kernel.org)... failed: Name or service not known.
wget: unable to resolve host address 'ftp.all.kernel.org'
Download failed.
因下載位置已改變,修改download.pl描述的下載路徑,
由
push @mirrors, "http://ftp.all.kernel.org/pub/$dir";
改為
push @mirrors, "http://www.kernel.org/pub/$dir";
2017年11月7日 星期二
2017年7月24日 星期一
WinCE Eboot Boot-up Sequence
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
StartUp[Start] -> PreInit -> Put CPU in SVC mode and disable IRQ, FIQ ->
Disable MMU, caches, write-buffer and flush -> RCSR_HARD_RESET(2.) ->
RCSR_GPIO_RESET(3.) -> Continue_StartUp(4.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\startup.s
OALStartUp -> Init_HexLEDs -> Copy the bootloader image from flash to RAM ->
jump to the RAM image -> Enable the MMU -> Jump to main.c(5.)
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
RCSR_GPIO_RESET -> xlli_mem_init -> Continue_StartUp(4.)
- F:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP\startup.s
Continue_StartUp -> xlli_intr_init(15.) -> EnableClks -> xlli_mem_Tmax(15.) ->
xlli_mem_restart(15.) -> OALXScaleSetFrequencies(16.)->
xlli_mem_Topt(15.) -> xlli_mem_restart(15.) -> xlli_ost_init(15.) ->
xlli_pwrmgr_init(15.) -> xlli_IMpwr_init(15.) -> OALStartUp(2.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
main -> BootloaderMain(6.)
- F:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON\blcommon.c
BootloaderMain -> KernelRelocate -> OEMDebugInit(7.) -> OEMPlatformInit(9.) ->
OEMPreDownload(10.) -> BL_DOWNLOAD(11.) -> BL_JUMP(14.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMDebugInit -> FlashInit -> InitDebugSerial(8.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\COMMON\DBGSERIAL\dbgserial.c
InitDebugSerial -> Return
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMPlatformInit -> Create menu -> InitSpecifiedEthDevice(Download image) -> Return
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMPreDownload -> Return
- F:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON\blcommon.c
DownloadImage(BL_DOWNLOAD) -> OEMReadData(12.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\utils.c
OEMReadData -> EbootEtherReadData(13.)
- F:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\EBOOT\ebsimp.c
EbootEtherReadData -> OEMLaunch(14.)
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT\main.c
OEMLaunch[End]
- F:\WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL\PXA27X\XLLP\SOURCE\
xlli_lowlev_init.s
xlli_intr_init; xlli_mem_Tmax; xlli_mem_restart; xlli_mem_Topt; xlli_mem_restart;
xlli_ost_init; xlli_pwrmgr_init; xlli_IMpwr_init; xlli_GPIO_init
- F:\WINCE500\PLATFORM\MAINSTONEII\SRC\COMMON\FREQ\freq.s
OALXScaleSetFrequencies -> xlli_GPIO_init -> xlli_GPIO_init(15.)
訂閱:
文章 (Atom)