refer to the URL https://www.youtube.com/watch?v=DyhRMjaUknQ&t=607s
refer to the URL https://developer.nvidia.com/embedded-computing
and disconnect the power adapter, and connect USB-A to PC
and connect the power adapter,
and press the power button , after 1 second
and press the rec button and hold it
and press the reset button , and release it
and release the rec button
$ lsusb
Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 0955:7721 NVidia Corp.
Bus 005 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 275d:0ba6
Bus 003 Device 002: ID 1a2c:2d23 China Resource Semico Co., Ltd
Bus 003 Device 004: ID 1b1c:0c04 Corsair
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
set tabstop=4
set shiftwidth=4
set cindent
set autoindent
set smartindent
set expandtab
set number
set showmatch
set ignorecase
set smarttab
set showcmd
set hlsearch
set incsearch
set ruler
filetype on
syntax on
set tags=./tags,./TAGS,tags,TAGS
filetype indent on
set ff=unix
colorscheme desert
autocmd vimenter * if !argc() | NERDTree | endif
map
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
alias a=’alias’
alias vi=’vim’
alias dir=’ls -al –color=auto’
alias ls=’ls -a –color=auto’
alias h=’history’
alias sb=’source .bashrc’
alias vb=’vi .bashrc’
alias pstree=’pstree -apcl’
alias scrr=’screen -li’
HISTFILESIZE=5000
alias python=python3
참조 할 site http://ngee.tistory.com/326
효과를 보기 위해서는 language support 에서 한글 language을 선택하고 reboot한다.
$> sudo apt-get install openssh-server openssh-client $> sudo apt-get install mc
The I/O Scheduler is designed to perform the Disk I/O efficiently. In kernel 2.6.10, there are four type of noop, cfg, deadline, anticipatory, default is cfg.
The key factors in determining the IO Scheduler Design within OS is throughput vs latency (response time )
The I/O Scheduler maximizes the global throughput by minimizing the seek time by manipulating the Request Queue appropriately. Tow basic operation of merging and sorting are used here. That is, When a request arrives, it joins two request when there is already in the queue or a request for a neighboring block. Also, to reduce disk seeking, the new arriving request is inserted into request list, not to append that to the already waiting block list as FIFO method according to block number. This minimize the disk seeking and allows the arm of disk to be serviced while traversing the disk.
However , there should not be many “starving I/O requests”. keep fairness fairly, and reduce the latency. This is simular to an elevator , so the I/O Scheduler is also called as elevator.
Block I / O Request Once put in the elevator, it is reserved and is dispatched. Requests to be dispatched are put into the RequestQueue and the device driver performs I / O.
1.noop
2.anticipatory(as)
3.deadline
4.cfq(Completely Fair Queuing)
Each 1LANE
TYPE II : system Clock Reference(NRZ Signaling)
100~104 Sector Read
ScsiCommand Set supported by UFS is based on UFS native commands and Scsiprimary commands spec(SPC-4/SBC-3).
Commands (CDB Size) | Description | DATA IN UPIU | DATA OUT UPIU |
---|---|---|---|
TEST UNIT READ(6) | Test if device is ready (not for a self-test) | X | X |
Inquiry(6) | Report device information -type, manufacture, etc | a single Data In UPIU(36byte) | X |
Request Sense(6) | Report sense data -current status of device | a single Data In UPIU(18byte) | X |
Read Capacity(10) | Report medium capacity and block sizecan be issued per Logical Unit | a single Data In UPIU(8byte) | X |
Start Stop Unit(6) | Change power condition or load or eject medium | X | X |
Read(10) | Transfer data from medium to host | a series of Data In UPIU’s | X |
Write(10) | Transfer data from host to medium | Ready To Transfer UPIU | a Data OUT UPIU per RTT |
Read Buffer(10) | Read microcode and other data and tunneling | a series of Data In UPIU’s | X |
Write Buffer(10) | Transfer microcode and other data and tunnelling | Ready To Transfer UPIU | a Data OUT UPIU per RTT |
Mode Select(10) | Set parameter , modes, etc | Ready To Transfer UPIU | a Data OUT UPIU per RTT |
Mode Sense(10) | Report parameters and other device Information -geometry, other | a series of Data In UPIU’s | X |
Report LUNS(12) | Report the accessible logical unit inventory | one or more Data IN UPIU’s (Most likely one data in UPIU) (8byte+8 x n) (n = LUN) | X |
Verify(10) | Verify medium data is same as transferred dataTo determine if specific LBA’s are accessible | X | X |
Format Unit(6) | Format medium into logical blocks, manage medium and defects | Ready To Transfer UPIU | a Data Out UPIU containing the unmber of bytes |
Send Diagnostic(6) | Perform diagnostic operations on LU or device | Ready To Transfer UPIU | a Data Out UPIU containing the unmber of bytes |
Synchronize Cache(10) | Recording most recent device data to medium | X | X |
No Data (Test Unit Ready, Start Stop Unit, Verify)
Data from Device (Inquiry, Read6, Request Sense, Read Capacity, Mode Sense, Report LUN)
The following information was astracted from
UFS_Overview_20150821_r0.pdf
M1CCL02-082_Toshiba_UFS_Memory_Overview_for_LGMC_20151022m(S).pdf
M1PCA00-010_TOSHIBA_UFS_Ver2.0_Application_Note_Rev0.1.pdf
151024_Samsung_Flash_Memory.pdf