개소리 왈왈/컴퓨터2015. 3. 28. 09:26

사용중인 녀석은

3BON-S35S 로 2TB를 꽂아서 쓰던 건데

[링크 : http://prod.danawa.com/info/?pcode=980046&]


여기다가 4TB를 꽂으니 인식이 안되서

칩셋을 찾아더니 JMicron JM23309를 사용한 칩셋이다.

데이터 시트 상으로는 LBA48을 지원해서 이론상으로는 128PiB 까지 인식이 되어야 하는 건데..

[링크 : http://en.wikipedia.org/wiki/Logical_block_addressing]

[링크 : http://www.chinaeds.com/zl/2007102620325297882.pdfjm20339



아무튼 로그 상으로는 SATA to USB 컨트롤러를 그치면

4TB 짜리 WD 디스크가 1.8TB로 인식을 해버리고 디스크 정보라던가 마운트를 시도하면

알수없는 file system이라면서 인식을 하지 않는다.

[  705.076085] usb 1-6: new high-speed USB device number 3 using ehci-pci

[  705.208918] usb 1-6: New USB device found, idVendor=152d, idProduct=2339

[  705.208931] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5

[  705.208938] usb 1-6: Product: USB to ATA/ATAPI Bridge

[  705.208943] usb 1-6: Manufacturer: JMicron

[  705.208948] usb 1-6: SerialNumber: 1E34FFFFFFFF

[  705.283199] usb-storage 1-6:1.0: USB Mass Storage device detected

[  705.283484] scsi8 : usb-storage 1-6:1.0

[  705.283768] usbcore: registered new interface driver usb-storage

[  705.313829] usbcore: registered new interface driver uas


[    2.990457] scsi 6:0:0:0: Direct-Access     WDC WD40EZRX-00SPEB0          PQ: 0 ANSI: 2 CCS

[    2.991789] sd 6:0:0:0: Attached scsi generic sg1 type 0

[    2.992179] sd 6:0:0:0: [sdb] 3519069872 512-byte logical blocks: (1.80 TB/1.63 TiB)

[    2.993272] sd 6:0:0:0: [sdb] Write Protect is off

[    2.993281] sd 6:0:0:0: [sdb] Mode Sense: 00 38 00 00

[    2.994269] sd 6:0:0:0: [sdb] Asking for cache data failed

[    2.994278] sd 6:0:0:0: [sdb] Assuming drive cache: write through

[    3.031761]  sdb: unknown partition table

[    3.035276] sd 6:0:0:0: [sdb] Attached SCSI disk 


$ sudo fdisk -l


Disk /dev/sda: 320.1 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000ac755


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *        2048   621012991   310505472   83  Linux

/dev/sda2       621015038   625141759     2063361    5  Extended

/dev/sda5       621015040   625141759     2063360   82  Linux swap / Solaris


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.



Disk /dev/sdb: 1801.8 GB, 1801763774464 bytes

256 heads, 63 sectors/track, 218196 cylinders, total 3519069872 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000


   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1  4294967295  2147483647+  ee  GPT 


$ sudo parted /dev/sda print

Model: ATA WDC WD3200BEVT-0 (scsi)

Disk /dev/sda: 320GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos


Number  Start   End    Size    Type      File system     Flags

 1      1049kB  318GB  318GB   primary   ext4            boot

 2      318GB   320GB  2113MB  extended

 5      318GB   320GB  2113MB  logical   linux-swap(v1)


$ sudo parted /dev/sdb print

Error: 부적절한 인수 during seek for read on /dev/sdb 


혹시나 하는 마음에 SATA 케이블을 이용 로컬에 바로 붙여서 부팅을 해보니

용량을 제대로 인식한다 -_-

[    2.466401] scsi 3:0:0:0: Direct-Access     ATA      WDC WD40EZRX-00S 0A80 PQ: 0 ANSI: 5

[    2.466705] sd 3:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)

[    2.466709] sd 3:0:0:0: [sdb] 4096-byte physical blocks

[    2.466723] sd 3:0:0:0: Attached scsi generic sg1 type 0

[    2.466764] sd 3:0:0:0: [sdb] Write Protect is off

[    2.466767] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00

[    2.466792] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    2.560959]  sdb: sdb1 sdb2

[    2.561389] sd 3:0:0:0: [sdb] Attached SCSI disk 



아무튼.. 원래 사용하던 2TB 하드는 정상적으로 인식을 하는데

윈도우에서는 4TB를 쓸 수 있었던 것을 봐서는 리눅스에 내장된(Ubuntu 14.04 LTS / 32bit desktop edition)

드라이버의 문제로 보여진다.

[  705.076085] usb 1-6: new high-speed USB device number 3 using ehci-pci

[  705.208918] usb 1-6: New USB device found, idVendor=152d, idProduct=2339

[  705.208931] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5

[  705.208938] usb 1-6: Product: USB to ATA/ATAPI Bridge

[  705.208943] usb 1-6: Manufacturer: JMicron

[  705.208948] usb 1-6: SerialNumber: 1E34FFFFFFFF

[  705.283199] usb-storage 1-6:1.0: USB Mass Storage device detected

[  705.283484] scsi8 : usb-storage 1-6:1.0

[  705.283768] usbcore: registered new interface driver usb-storage

[  705.313829] usbcore: registered new interface driver uas

[  706.280751] scsi 8:0:0:0: Direct-Access     ST2000DM 001-1CH164            PQ: 0 ANSI: 2 CCS

[  706.281609] sd 8:0:0:0: Attached scsi generic sg2 type 0

[  706.289238] sd 8:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)

[  706.289961] sd 8:0:0:0: [sdc] Write Protect is off

[  706.289971] sd 8:0:0:0: [sdc] Mode Sense: 00 38 00 00

[  706.290594] sd 8:0:0:0: [sdc] Asking for cache data failed

[  706.290604] sd 8:0:0:0: [sdc] Assuming drive cache: write through

[  706.322024]  sdc: sdc1

[  706.325373] sd 8:0:0:0: [sdc] Attached SCSI disk 



결론 : 엌 괜히 NAS 질렀나?


+ askubuntu에 던져는 놨는데 어떻게 대응되려나?

[링크 : http://askubuntu.com/questions/602327/jmicron-jm20339-usb-sata-controller-problem]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

시리얼 / 패러럴 핀 헤더 확장  (0) 2015.04.03
시리얼 / 패러럴 백패널 확장  (0) 2015.04.01
NAS가 필요 하려나..  (0) 2015.03.27
하드 도착!  (0) 2015.03.25
ASUS Express Gate ?  (0) 2015.03.19
Posted by 구차니
개소리 왈왈/컴퓨터2015. 3. 27. 22:16

리눅스에다가

GPT + NTFS로 포맷한 4TB 하드 연결하니

드라이브는 뜨는데 파일 시스템 인식 불가로 마운트 불가..


그렇다고 이것저것 옮겨서 하기에는..

2TB 옮기는데 5시간은 걸리는지라.. 시간부담도 크고..


아무튼 용량을 고려하면.. 결국에는 기가비트 NAS를 구축하거나 구매해야 하는데

이래저래 돈이.. ㄷㄷㄷ


AMD 4850e 이녀석은.. 커널 컴파일 하다가 뻗어 버리고..

(아마도 케이스 문제로 발열을 못 버티는 듯?)

케이스도 확장 불가라서 케이스와 파워만 사고는 NAS를 구축하던가 하는게 가장 적절할 듯..

멀 어떻게 하는게 좋으려나.. 돈이냐 전기냐.. 후...



다나와에서 ds213j 기가비트 지원되는 모델이 12만원에 나와서 일단 예약

[링크 : http://us.hardware.info/reviews/4403/6/synology-ds213j-review-deluxe-entry-level-nas-conclusion]

[링크 : http://dmall.danawa.com/sale/saleView.php?nSaleSeq=5540682]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

시리얼 / 패러럴 백패널 확장  (0) 2015.04.01
JMicron SATA to USB / 리눅스에서 4TB GPT NTFS 인식문제  (0) 2015.03.28
하드 도착!  (0) 2015.03.25
ASUS Express Gate ?  (0) 2015.03.19
컴퓨터 한대.. 회수?  (0) 2015.03.15
Posted by 구차니
Linux/Ubuntu2015. 3. 26. 16:57

우분투 설치시에 hostname(컴퓨터 이름)을 기재하는데 중복되게 적는 바람에

/etc/hostname에 있는 녀석만 바꾸었더니


sudo 명령을 수행할때 마다 경고가 뜬다 -_-

검색 결과.. hostname 뿐만 아니라 hosts 까지 수정을 해주어야 하는 듯.


$ cat /etc/hostname

devmini 


$ cat /etc/hosts

127.0.0.1       localhost

127.0.1.1       devmini


# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters 


[링크 : http://gentooboy.tistory.com/238]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu mate  (0) 2015.07.28
Ubuntu 12.04 LTS G1610 CPU 지원 종료  (0) 2015.04.10
xming / gconf / putty 실행불가  (2) 2015.02.24
apt-file  (0) 2015.02.13
ubuntu 10.04 32bit / PAE  (0) 2015.02.13
Posted by 구차니
Linux API2015. 3. 26. 01:09

VAAPI(Video Acceleration API) - intel

VDPAU(Video Decode and Presentation API for Unix) - nvidia

UVD(Unified Video Decoder) - AMD


[링크 : http://en.wikipedia.org/wiki/Video_Acceleration_API]

[링크 : http://en.wikipedia.org/wiki/VDPAU]

[링크 : http://en.wikipedia.org/wiki/Unified_Video_Decoder]


XBMC 보다 보니 이런저런 가속 방법이 나와서 조사하니
3대 메이져 제조사에서 제공하는 API들의 이름이다.

[링크 : http://ubuntuforums.org/showthread.php?t=2177664]

[링크 : http://www.phoronix.com/scan.php?page=news_item&px=MTM1NDk]



'Linux API' 카테고리의 다른 글

system wait stdout  (0) 2018.10.22
lirc - linux IR Remote control  (0) 2015.03.31
linux 최대 thread 갯수  (0) 2015.01.22
getopt() / getopt_long()  (0) 2014.11.19
공유메모리  (0) 2014.09.02
Posted by 구차니
개소리 왈왈/컴퓨터2015. 3. 25. 23:16

4TB 만세 ㅋㅋ

처음으로 잡아본 GPT 파티션!

나중에 이걸 OS 디스크로 써봐야 하는데 끄응.. ㅠㅠ





Posted by 구차니
embeded/raspberry pi2015. 3. 24. 22:26

심심하니 일단 armv7-a / cortex-a7 용으로 설정하고 궈궈

qt-everywhere-opensource-src-5.3.2/qtbase/mkspecs/devices/linux-rasp-pi2-g++$ cat qmake.conf 

#

# qmake configuration for Broadcom's Raspberry PI

# http://wiki.qt-project.org/Devices/RaspberryPi


include(../common/linux_device_pre.conf)


QT_QPA_DEFAULT_PLATFORM = wayland


QMAKE_LFLAGS           += -Wl,-rpath-link,$$[QT_SYSROOT]/opt/vc/lib


QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/opt/vc/lib

QMAKE_LIBDIR_EGL        = $$QMAKE_LIBDIR_OPENGL_ES2


QMAKE_INCDIR_EGL        = $$[QT_SYSROOT]/opt/vc/include \

                          $$[QT_SYSROOT]/opt/vc/include/interface/vcos/pthreads \

                          $$[QT_SYSROOT]/opt/vc/include/interface/vmcs_host/linux

QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}


QMAKE_LIBS_EGL          = -lEGL -lGLESv2


contains(DISTRO, squeeze) {

    #Debian Squeeze: Legacy everything

    QMAKE_LIBS_OPENGL_ES2   = -lGLESv2 -lEGL

    QT_QPA_DEFAULT_PLATFORM = eglfs

} else:contains(DISTRO, arch) {

    #On principle: no wizardry required

} else {

    #This is not strictly necessary

    DISTRO_OPTS += deb-multi-arch

    DISTRO_OPTS += hard-float

}


QMAKE_CFLAGS           += \

                          -marm \

                          -mfpu=neon \

                          -mtune=cortex-a7 \

                          -march=armv7-a \

                          -mabi=aapcs-linux


QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS


EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_pi.cpp

EGLFS_PLATFORM_HOOKS_LIBS = -lbcm_host


include(../common/linux_arm_device_post.conf)


load(qt_config) 


$ ./configure -opensource -confirm-license -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-

   Configure summary


Building on:   linux-g++ (i386, CPU features:)

Building for:  devices/linux-rasp-pi2-g++ (arm, CPU features: neon)

Platform notes:


            - Also available for Linux: linux-kcc linux-icc linux-cxx

        

Build options:

  Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis no-harfbuzz no-pkg-config pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config zlib 

  Build parts ............ libs examples

  Mode ................... release

  Using C++11 ............ yes

  Using PCH .............. yes

  Target compiler supports:

    iWMMXt/Neon .......... no/auto


Qt modules and options:

  Qt D-Bus ............... no

  Qt Concurrent .......... yes

  Qt GUI ................. yes

  Qt Widgets ............. yes

  Large File ............. yes

  QML debugging .......... yes

  Use system proxies ..... no


Support enabled for:

  Accessibility .......... yes

  ALSA ................... no

  CUPS ................... no

  Evdev .................. yes

  FontConfig ............. no

  FreeType ............... yes (bundled copy)

  Glib ................... no

  GTK theme .............. no

  HarfBuzz ............... no

  Iconv .................. yes

  ICU .................... no

  Image formats: 

    GIF .................. yes (plugin, using bundled copy)

    JPEG ................. yes (plugin, using bundled copy)

    PNG .................. yes (in QtGui, using bundled copy)

  journald ............... no

  mtdev .................. no

  Networking: 

    getaddrinfo .......... yes

    getifaddrs ........... yes

    IPv6 ifname .......... yes

    OpenSSL .............. no

  NIS .................... yes

  OpenGL / OpenVG: 

    EGL .................. no

    OpenGL ............... no

    OpenVG ............... no

  PCRE ................... yes (bundled copy)

  pkg-config ............. no 

  PulseAudio ............. no

  QPA backends: 

    DirectFB ............. no

    EGLFS ................ no

    KMS .................. no

    LinuxFB .............. yes

    XCB .................. no

  Session management ..... yes

  SQL drivers: 

    DB2 .................. no

    InterBase ............ no

    MySQL ................ no

    OCI .................. no

    ODBC ................. no

    PostgreSQL ........... no

    SQLite 2 ............. no

    SQLite ............... yes (plugin, using bundled copy)

    TDS .................. no

  udev ................... no

  xkbcommon .............. no

  zlib ................... yes (bundled copy)


NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.

Configure with '-qreal float' to create a build that is binary compatible with 5.1.

Info: creating super cache file /home/minimonk/src/qt-everywhere-opensource-src-5.3.2/.qmake.super


Qt is now configured for building. Just run 'make'.

Once everything is built, you must run 'make install'.

Qt will be installed into /usr/local/Qt-5.3.2


Prior to reconfiguration, make sure you remove any leftovers from

the previous build. 



또 얼마나 걸리려나 ㅋㅋ

오전 10:17 2015-03-25


make clean 하고 컴파일 해서 그런가

14:03:18

4시간 걸림 ㅋ

Posted by 구차니
embeded/raspberry pi2015. 3. 24. 17:19

일단은.. Qt 5.3 에서 기본적으로 설정되어있는 내용으로

Raspberry pi는 1, ARM11 용으로 설정되어 있다.


qt-everywhere-opensource-src-5.3.2/qtbase/mkspecs/devices/linux-rasp-pi-g++$ cat qmake.conf

#

# qmake configuration for Broadcom's Raspberry PI

# http://wiki.qt-project.org/Devices/RaspberryPi


include(../common/linux_device_pre.conf)


QT_QPA_DEFAULT_PLATFORM = wayland


QMAKE_LFLAGS           += -Wl,-rpath-link,$$[QT_SYSROOT]/opt/vc/lib


QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/opt/vc/lib

QMAKE_LIBDIR_EGL        = $$QMAKE_LIBDIR_OPENGL_ES2


QMAKE_INCDIR_EGL        = $$[QT_SYSROOT]/opt/vc/include \

                          $$[QT_SYSROOT]/opt/vc/include/interface/vcos/pthreads \

                          $$[QT_SYSROOT]/opt/vc/include/interface/vmcs_host/linux

QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}


QMAKE_LIBS_EGL          = -lEGL -lGLESv2


contains(DISTRO, squeeze) {

    #Debian Squeeze: Legacy everything

    QMAKE_LIBS_OPENGL_ES2   = -lGLESv2 -lEGL

    QT_QPA_DEFAULT_PLATFORM = eglfs

} else:contains(DISTRO, arch) {

    #On principle: no wizardry required

} else {

    #This is not strictly necessary

    DISTRO_OPTS += deb-multi-arch

    DISTRO_OPTS += hard-float

}


QMAKE_CFLAGS           += \

                          -marm \

                          -mfpu=vfp \

                          -mtune=arm1176jzf-s \

                          -march=armv6zk \

                          -mabi=aapcs-linux


QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS


EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_pi.cpp

EGLFS_PLATFORM_HOOKS_LIBS = -lbcm_host


include(../common/linux_arm_device_post.conf)


load(qt_config) 


$ ./configure -opensource -confirm-license -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-


   Configure summary


Building on:   linux-g++ (i386, CPU features:)

Building for:  devices/linux-rasp-pi-g++ (arm, CPU features:)

Platform notes:


            - Also available for Linux: linux-kcc linux-icc linux-cxx


Build options:

  Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis no-harfbuzz no-pkg-config pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config zlib

  Build parts ............ libs examples

  Mode ................... release

  Using C++11 ............ yes

  Using PCH .............. yes

  Target compiler supports:

    iWMMXt/Neon .......... no/auto


Qt modules and options:

  Qt D-Bus ............... no

  Qt Concurrent .......... yes

  Qt GUI ................. yes

  Qt Widgets ............. yes

  Large File ............. yes

  QML debugging .......... yes

  Use system proxies ..... no


Support enabled for:

  Accessibility .......... yes

  ALSA ................... no

  CUPS ................... no

  Evdev .................. yes

  FontConfig ............. no

  FreeType ............... yes (bundled copy)

  Glib ................... no

  GTK theme .............. no

  HarfBuzz ............... no

  Iconv .................. yes

  ICU .................... no

  Image formats:

    GIF .................. yes (plugin, using bundled copy)

    JPEG ................. yes (plugin, using bundled copy)

    PNG .................. yes (in QtGui, using bundled copy)

  journald ............... no

  mtdev .................. no

  Networking:

    getaddrinfo .......... yes

    getifaddrs ........... yes

    IPv6 ifname .......... yes

    OpenSSL .............. no

  NIS .................... yes

  OpenGL / OpenVG:

    EGL .................. no

    OpenGL ............... no

    OpenVG ............... no

  PCRE ................... yes (bundled copy)

  pkg-config ............. no

  PulseAudio ............. no

  QPA backends:

    DirectFB ............. no

    EGLFS ................ no

    KMS .................. no

    LinuxFB .............. yes

    XCB .................. no

  Session management ..... yes

  SQL drivers:

    DB2 .................. no

    InterBase ............ no

    MySQL ................ no

    OCI .................. no

    ODBC ................. no

    PostgreSQL ........... no

    SQLite 2 ............. no

    SQLite ............... yes (plugin, using bundled copy)

    TDS .................. no

  udev ................... no

  xkbcommon .............. no

  zlib ................... yes (bundled copy)


NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.

Configure with '-qreal float' to create a build that is binary compatible with 5.1.

Info: creating super cache file /home/minimonk/src/qt-everywhere-opensource-src-5.3.2/.qmake.super


Qt is now configured for building. Just run 'make'.

Once everything is built, you must run 'make install'.

Qt will be installed into /usr/local/Qt-5.3.2


Prior to reconfiguration, make sure you remove any leftovers from

the previous build. 


커널이 i7에서 3분 걸리던게.. 1시간 20분 걸렸으니

i7에서 30분 넘게 걸리던 qt 컴파일은... 10시간 이려나?! -_-a


+

그냥 걸어놓고 내려놨는데

다시 확인하니 20:54:36 컴파일 완료

거의 3시간 반 정도 걸린듯?

Posted by 구차니
embeded/raspberry pi2015. 3. 24. 08:55

라즈베리 파이 홈페이지에서 보이는 것 이상의 것들이 많이 있다?


[링크 : http://downloads.raspberrypi.org/]

    [링크 : http://qt-project.org/wiki/RaspberryPi_Beginners_guide]

Posted by 구차니
embeded/raspberry pi2015. 3. 23. 22:03

ATOM 330 + ION 보다 동영상 재생 성능이 낫네 ㄷㄷ


라즈베리 파이 2

openELEC

600MHz / NEON


H.264 high profile 1080p 30fps 재생 문제 없음

H.264 high profile 1080p 60fps 프레임 드랍 있음 (kodi/xbmc 환경설정에서 44fps 로 출력됨 / 1600x900 해상도)

Posted by 구차니
embeded/raspberry pi2015. 3. 23. 20:35

심심해서 일단 받아봄

리눅스 커널은 대략 빌드 중이라 늘어난 것일수도 있으니 크게 의미는 없으나 대략 840MB 정도 예상되고

크로스 컴파일러가 무려 945MB ㄷㄷㄷ

rootfs는 11M로 저렴하다 -ㅁ-!


~/rasp$ du -h -d 1

851M    ./linux

945M    ./tools

11M     ./target_fs

1.8G    . 


$ sudo apt-get install libncurses5-dev 

[링크 : http://askubuntu.com/questions/78749/what-provides-curses-headers-named-curses-h]


$ mkdir rasp

$ cd rasp

$ git clone --depth=1 https://github.com/raspberrypi/tools

$ git clone --depth=1 https://github.com/raspberrypi/linux

$ git clone --depth=1 https://github.com/raspberrypi/target_fs

$ export PATH=$PATH:~/rasp/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin

$ cd linux

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig menuconfig

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j 4 

[링크 : http://www.raspberrypi.org/documentation/linux/kernel/building.md]


커널 menuconfig 에서 보니

일단.. BCM2709로 설정되고


NEON은 켜져있도록 되어있다.



+

그나저나.. ATOM 330 / 1.6GHz 로 어느 세월에 컴파일 하지? ㅋㅋㅋ


+

오후 8:40 2015-03-23

오후 10:02 2015-03-23

무려 1시간 20분 만에 컴파일 완료 -_ㅠ


~/rasp/linux$ file vmlinux

vmlinux: ELF 32-bit LSB  executable, ARM, EABI5 version 1 (SYSV), statically linked, BuildID[sha1]=44adda67f6686154f7eb71069c144f84d4ee6c20, not stripped



린필드 i7 으로는 3분만에 컴파일 끝나던데 흑흑
역시 듀얼 코어 + HT ATOM으로는 무리였어 ㅠㅠ


+ 2015.04.09 추가
시작 오후 10:16 2015-04-09
끝 2015. 04. 09. (목) 22:47:18 KST
AMD 4850e / 2.5GHz 듀얼 코어로 30분 걸림 -_ㅠ -j4 인데도 불구하고!!! ㅠㅠ




+ 2015.05.31 추가

2015년 05월 31일 (일) 오후 07시 55분 25초 

2015. 05. 31. (일) 20:05:59 KST

AMD 945 / 3.0GHz 드코어로 10분..  클럭빨로 4850e보다는 줄지만

역시나.. i7이 짱짱이구나 싶은 결과랄까 ㅜㅜ

Posted by 구차니