embeded/odroid2015. 4. 17. 14:31

라즈베리 사고 나서는 아니고 알고는 있었는데

조금 비싼 느낌이라 패스 했거늘..


라즈베리 2랑 비교하면 꽤 장점이 있는데..

1. IR 리시버 장착(!!!)

2. eMMC 장착가능

3. GbE 지원(!!!)

4. USB Host 4 + OTG 1


단, 단점으로는

1. mini HDMI

2. 별도의 전원 커넥터(micro USB로 전원공급 못함)


정도인듯..


하.. eMMC에 급 끌리네 ㅠㅠ


[링크 : http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141578608433]



한줄요약 : 하드커널사에서 가격도 라즈베리2랑 동일하게 맞춘 대체제이나 일장일단이 있음

'embeded > odroid' 카테고리의 다른 글

odroid u3 사용준비!  (0) 2016.09.02
odroid u3 지름!  (0) 2016.09.02
eMMC에 대한 환상은 깨도 되려나?  (0) 2015.11.11
odroid eMMC 관련  (0) 2015.11.03
odroid  (0) 2014.05.21
Posted by 구차니
embeded/raspberry pi2015. 4. 17. 10:26

커널에서 어떻게 설정하고 어떻게 해야 하나...


[링크 : http://elinux.org/RPiconfig]

[링크 : https://wiki.gentoo.org/wiki/Initramfs/HOWTO/ko]

[링크 : http://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html]

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


2010/09/19 - [Linux] - mkinitramfs


Posted by 구차니
embeded/raspberry pi2015. 4. 16. 20:47


디렉토리 구조

linux 와 target_fs(rootfs) 그리고 tools는 git로 받고

modules는 linux 커널 모듈을 내려받기 위해서 빈 디렉토리로 생성한다.


~/rasp$ tree -L 2

.

├── linux

├── modules

├── target_fs

└── tools

    ├── arm-bcm2708

    ├── configs

    ├── mkimage

    ├── pkg

    ├── sysidk

    ├── test_code

    └── usbboot


일단.. modules 디렉토리 없이 그냥 하니 /lib 로 타겟이 아닌 호스트에 바로 복사하려는 만행을 벌이는데!!

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_install

scripts/kconfig/conf --silentoldconfig Kconfig

mkdir: `/lib/modules/3.18.10-v7+' 디렉토리를 만들 수 없습니다: 허가 거부

make: *** [_modinst_] 오류 1



~/rasp/tools/mkimage$ ./imagetool-uncompressed.py ../../linux/arch/arm/boot/zImage


[링크 : http://sysprogs.com/VisualKernel/tutorials/raspberry/buildkernel/]

Posted by 구차니
embeded/raspberry pi2015. 4. 14. 21:28

snappy SD 카드에

kernel.img를 바꾸니 무한 재부팅 -_ㅠ


config.txt에

kernel=kernel.img

이런식으로 넣으니 그냥 깜깜 무소식 -_-



[링크 : http://elinux.org/Raspberry_Pi_Kernel_Compilation]

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


+

음... make modules_install을 안해주고 해서 그런가?

ARCH=arm CROSS_COMPILE=${CCPREFIX} INSTALL_MOD_PATH=../modules make modules_install

[링크 : http://sysprogs.com/VisualKernel/tutorials/raspberry/buildkernel/]



+

2015.04.16 추가

시리얼 연결해서 머가 문제인지 확인

일단.. snappy의 경우 kernel.img는 바꾸어도 차이가 없고

kernel7.img를 바꾸어야 변화가 생긴다. 아마도 kernel7.img가 ARMv7용인듯 하다.


Uncompressing Linux... done, booting the kernel.

[    0.000000] Booting Linux on physical CPU 0xf00

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 3.18.10-v7+ (minimonk@devdesk) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #2 SMP PREEMPT Tue Apr 14 21:12:23 KST 2015

[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine: BCM2709

[    0.000000] cma: Reserved 8 MiB at 0x39800000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] [bcm2709_smp_init_cpus] enter (8600->f3003010)

[    0.000000] [bcm2709_smp_init_cpus] ncores=4

[    0.000000] PERCPU: Embedded 10 pages/cpu @ba369000 s11456 r8192 d21312 u40960

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239776

[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1600 bcm2708_fb.fbheight=900 bcm2709.boardrev=0xa21041 bcm2709.serial=0xa37ce24e smsc95xx.macaddr=B8:27:EB:7C:E2:4E bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/disk/by-label/system-a init=/lib/systemd/systemd ro panic=-1 fixrtc elevator=deadline rootwait

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 928208K/966656K available (5717K kernel code, 397K rwdata, 1748K rodata, 388K init, 763K bss, 38448K reserved)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)

[    0.000000]     vmalloc : 0xbb800000 - 0xff000000   (1080 MB)

[    0.000000]     lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)

[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)

[    0.000000]       .text : 0x80008000 - 0x807527f0   (7466 kB)

[    0.000000]       .init : 0x80753000 - 0x807b4000   ( 388 kB)

[    0.000000]       .data : 0x807b4000 - 0x8081747c   ( 398 kB)

[    0.000000]        .bss : 0x8081747c - 0x808d61d4   ( 764 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000] NR_IRQS:608

[    0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).

[    0.000012] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns

[    0.000035] Switching to timer-based delay loop, resolution 52ns

[    0.000315] Console: colour dummy device 80x30

[    0.000355] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)

[    0.000382] pid_max: default: 32768 minimum: 301

[    0.000794] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000816] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.002031] Initializing cgroup subsys memory

[    0.002083] Initializing cgroup subsys devices

[    0.002112] Initializing cgroup subsys freezer

[    0.002139] Initializing cgroup subsys net_cls

[    0.002162] Initializing cgroup subsys blkio

[    0.002268] CPU: Testing write buffer coherency: ok

[    0.002353] ftrace: allocating 19588 entries in 58 pages

[    0.050584] missing device node for CPU 0

[    0.050623] missing device node for CPU 1

[    0.050635] missing device node for CPU 2

[    0.050646] missing device node for CPU 3

[    0.050666] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00

[    0.050682] [bcm2709_smp_prepare_cpus] enter

[    0.050813] Setting up static identity map for 0x5279d8 - 0x527a0c

[    0.110560] [bcm2709_boot_secondary] cpu:1 started (0) 18

[    0.110867] CPU1: Booted secondary processor

[    0.110876] [bcm2709_secondary_init] enter cpu:1

[    0.110929] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01

[    0.130535] [bcm2709_boot_secondary] cpu:2 started (0) 16

[    0.130776] CPU2: Booted secondary processor

[    0.130784] [bcm2709_secondary_init] enter cpu:2

[    0.130820] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02

[    0.150594] [bcm2709_boot_secondary] cpu:3 started (0) 18

[    0.150820] CPU3: Booted secondary processor

[    0.150827] [bcm2709_secondary_init] enter cpu:3

[    0.150857] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03

[    0.150949] Brought up 4 CPUs

[    0.150981] SMP: Total of 4 processors activated (153.60 BogoMIPS).

[    0.150992] CPU: All CPU(s) started in SVC mode.

[    0.152003] devtmpfs: initialized

[    0.176807] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

[    0.178779] pinctrl core: initialized pinctrl subsystem

[    0.179551] NET: Registered protocol family 16

[    0.185214] DMA: preallocated 4096 KiB pool for atomic coherent allocations

[    0.186359] bcm2709.uart_clock = 3000000

[    0.188705] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[    0.188720] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.188759] mailbox: Broadcom VideoCore Mailbox driver

[    0.188867] bcm2708_vcio: mailbox at f300b880

[    0.189223] bcm_power: Broadcom power driver

[    0.189241] bcm_power_open() -> 0

[    0.189252] bcm_power_request(0, 8)

[    0.689939] bcm_mailbox_read -> 00000080, 0

[    0.689952] bcm_power_request -> 0

[    0.690073] Serial: AMBA PL011 UART driver

[    0.690203] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3

[    1.195411] console [ttyAMA0] enabled

[    1.263784] SCSI subsystem initialized

[    1.267759] usbcore: registered new interface driver usbfs

[    1.273400] usbcore: registered new interface driver hub

[    1.278844] usbcore: registered new device driver usb

[    1.285730] Switched to clocksource arch_sys_counter

[    1.321312] FS-Cache: Loaded

[    1.324507] CacheFiles: Loaded

[    1.338868] NET: Registered protocol family 2

[    1.344505] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

[    1.351724] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    1.358419] TCP: Hash tables configured (established 8192 bind 8192)

[    1.364871] TCP: reno registered

[    1.368140] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    1.374104] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    1.380829] NET: Registered protocol family 1

[    1.385830] RPC: Registered named UNIX socket transport module.

[    1.391747] RPC: Registered udp transport module.

[    1.396472] RPC: Registered tcp transport module.

[    1.401170] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    1.407969] Trying to unpack rootfs image as initramfs...

[    1.413710] rootfs image is not initramfs (compression method lzma not configured); looks like an initrd

[    1.483308] Freeing initrd memory: 12660K (ba393000 - baff0000)

[    1.490700] bcm2708_dma: DMA manager at f3007000

[    1.495447] bcm2708_gpio: bcm2708_gpio_probe 807df0a8

[    1.501251] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)

[    1.511126] futex hash table entries: 1024 (order: 4, 65536 bytes)

[    1.517566] audit: initializing netlink subsys (disabled)

[    1.523020] audit: type=2000 audit(1.299:1): initialized

[    1.544791] VFS: Disk quotas dquot_6.5.2

[    1.549104] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    1.558611] FS-Cache: Netfs 'nfs' registered for caching

[    1.564864] NFS: Registering the id_resolver key type

[    1.570002] Key type id_resolver registered

[    1.574181] Key type id_legacy registered

[    1.579335] msgmni has been set to 1853

[    1.584926] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)

[    1.592587] io scheduler noop registered

[    1.596565] io scheduler deadline registered (default)

[    1.602062] io scheduler cfq registered

[    1.607947] BCM2708FB: allocated DMA memory f9c00000

[    1.612946] BCM2708FB: allocated DMA channel 0 @ f3007000

[    1.642946] Console: switching to colour frame buffer device 200x56

[    1.664773] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver

[    1.672467] uart-pl011 dev:f1: no DMA platform data

[    1.677889] vc-cma: Videocore CMA driver

[    1.681811] vc-cma: vc_cma_base      = 0x00000000

[    1.686538] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)

[    1.691929] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)

[    1.709185] brd: module loaded

[    1.718203] loop: module loaded

[    1.721643] vchiq: vchiq_init_state: slot_zero = 0xb9800000, is_master = 0

[    1.729344] Loading iSCSI transport class v2.0-870.

[    1.735106] usbcore: registered new interface driver smsc95xx

[    1.740969] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)

[    1.947049] Core Release: 2.80a

[    1.950209] Setting default values for core params

[    1.955034] Finished setting default values for core params

[    2.161054] Using Buffer DMA mode

[    2.164369] Periodic Transfer Interrupt Enhancement - disabled

[    2.170210] Multiprocessor Interrupt Enhancement - disabled

[    2.175793] OTG VER PARAM: 0, OTG VER FLAG: 0

[    2.180150] Dedicated Tx FIFOs mode

[    2.183959] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xb9c14000 dma = 0xf9c14000 len=9024

[    2.193830] FIQ FSM acceleration enabled for :

[    2.193830] Non-periodic Split Transactions

[    2.193830] Periodic Split Transactions

[    2.193830] High-Speed Isochronous Endpoints

[    2.210588] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803d8d0c

[    2.216506] WARN::hcd_init_fiq:413: FIQ ASM at 0x803d9068 length 36

[    2.222770] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb80a000

[    2.228854] dwc_otg bcm2708_usb: DWC OTG Controller

[    2.233783] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1

[    2.241060] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000

[    2.246607] Init: Port Power? op_state=1

[    2.250524] Init: Power Port (0)

[    2.254024] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    2.260839] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    2.268077] usb usb1: Product: DWC OTG Controller

[    2.272779] usb usb1: Manufacturer: Linux 3.18.10-v7+ dwc_otg_hcd

[    2.278888] usb usb1: SerialNumber: bcm2708_usb

[    2.284264] hub 1-0:1.0: USB hub found

[    2.288112] hub 1-0:1.0: 1 port detected

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

[    2.299274] mousedev: PS/2 mouse device common for all mice

[    2.305516] bcm2835-cpufreq: min=600000 max=900000

[    2.310737] sdhci: Secure Digital Host Controller Interface driver

[    2.316974] sdhci: Copyright(c) Pierre Ossman

[    2.321509] DMA channels allocated for the MMC driver

[    2.365772] Load BCM2835 MMC driver

[    2.369588] sdhci-pltfm: SDHCI platform and OF driver helper

[    2.378943] ledtrig-cpu: registered to indicate activity on CPUs

[    2.386069] hidraw: raw HID events driver (C) Jiri Kosina

[    2.391718] usbcore: registered new interface driver usbhid

[    2.397308] usbhid: USB HID core driver

[    2.401436] TCP: cubic registered

[    2.404755] Initializing XFRM netlink socket

[    2.409077] NET: Registered protocol family 17

[    2.413674] Key type dns_resolver registered

[    2.418395] Registering SWP/SWPB emulation handler

[    2.424047] registered taskstats version 1

[    2.424370] mmc0: host does not support reading read-only switch, assuming write-enable

[    2.427427] mmc0: new high speed SDHC card at address aaaa

[    2.428117] mmcblk0: mmc0:aaaa SL08G 7.40 GiB

[    2.437619]  mmcblk0: p1 p2 p3 p4

[    2.449760] vc-sm: Videocore shared memory driver

[    2.454468] [vc_sm_connected_init]: start

[    2.459202] [vc_sm_connected_init]: end - returning 0

[    2.465182] RAMDISK: lzma image found at block 0

[    2.469881] RAMDISK: lzma decompressor not configured!

[    2.475016] Invalid ramdisk decompression routine.  Select appropriate config option.

[    2.482897] Kernel panic - not syncing: Could not decompress initial ramdisk image.

[    2.485895] Indeed it is in host mode hprt0 = 00021501

[    2.495673] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.10-v7+ #2

[    2.502050] [<80015ee8>] (unwind_backtrace) from [<800127b0>] (show_stack+0x20/0x24)

[    2.509799] [<800127b0>] (show_stack) from [<8051ff5c>] (dump_stack+0x98/0xd8)

[    2.517026] [<8051ff5c>] (dump_stack) from [<8051c5e0>] (panic+0xa4/0x204)

[    2.523907] [<8051c5e0>] (panic) from [<80754b9c>] (rd_load_image+0x2bc/0x5e4)

[    2.531131] [<80754b9c>] (rd_load_image) from [<80754fe0>] (initrd_load+0x40/0x2d8)

[    2.538788] [<80754fe0>] (initrd_load) from [<8075460c>] (prepare_namespace+0xd0/0x1c8)

[    2.546791] [<8075460c>] (prepare_namespace) from [<80753ea8>] (kernel_init_freeable+0x18c/0x1d4)

[    2.555662] [<80753ea8>] (kernel_init_freeable) from [<8051ba48>] (kernel_init+0x18/0xfc)

[    2.563839] [<8051ba48>] (kernel_init) from [<8000ea08>] (ret_from_fork+0x14/0x20)

[    2.571406] CPU1: stopping

[    2.574118] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.18.10-v7+ #2

[    2.580480] [<80015ee8>] (unwind_backtrace) from [<800127b0>] (show_stack+0x20/0x24)

[    2.588227] [<800127b0>] (show_stack) from [<8051ff5c>] (dump_stack+0x98/0xd8)

[    2.595451] [<8051ff5c>] (dump_stack) from [<80014758>] (handle_IPI+0x234/0x268)

[    2.602844] [<80014758>] (handle_IPI) from [<800085f8>] (do_IPI+0x18/0x1c)

[    2.609719] [<800085f8>] (do_IPI) from [<80525774>] (__irq_svc+0x34/0x14c)

[    2.616584] Exception stack(0xb8ce3f70 to 0xb8ce3fb8)

[    2.621634] 3f60:                                     807d9ccc 00000000 00000000 00000000

[    2.629806] 3f80: b8ce2000 00000001 807d8dd4 808177c8 8081289c 807d8d74 8052a828 b8ce3fc4

[    2.637976] 3fa0: b8ce3fb8 b8ce3fb8 8000f498 8000f49c 60000113 ffffffff

[    2.644593] [<80525774>] (__irq_svc) from [<8000f49c>] (arch_cpu_idle+0x30/0x4c)

[    2.651992] [<8000f49c>] (arch_cpu_idle) from [<8005a11c>] (cpu_startup_entry+0x1e4/0x264)

[    2.660255] [<8005a11c>] (cpu_startup_entry) from [<800142a8>] (secondary_start_kernel+0x144/0x164)

[    2.669295] [<800142a8>] (secondary_start_kernel) from [<00008684>] (0x8684)

[    2.676335] CPU2: stopping

[    2.679046] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.18.10-v7+ #2

[    2.685406] [<80015ee8>] (unwind_backtrace) from [<800127b0>] (show_stack+0x20/0x24)

[    2.693151] [<800127b0>] (show_stack) from [<8051ff5c>] (dump_stack+0x98/0xd8)

[    2.700374] [<8051ff5c>] (dump_stack) from [<80014758>] (handle_IPI+0x234/0x268)

[    2.707766] [<80014758>] (handle_IPI) from [<800085f8>] (do_IPI+0x18/0x1c)

[    2.714640] [<800085f8>] (do_IPI) from [<80525774>] (__irq_svc+0x34/0x14c)

[    2.721504] Exception stack(0xb8ce5f70 to 0xb8ce5fb8)

[    2.726552] 5f60:                                     807d9ccc 00000000 00000000 00000000

[    2.734723] 5f80: b8ce4000 00000002 807d8dd4 808177c8 8081289c 807d8d74 8052a828 b8ce5fc4

[    2.742893] 5fa0: b8ce5fb8 b8ce5fb8 8000f498 8000f49c 60000113 ffffffff

[    2.749509] [<80525774>] (__irq_svc) from [<8000f49c>] (arch_cpu_idle+0x30/0x4c)

[    2.756905] [<8000f49c>] (arch_cpu_idle) from [<8005a11c>] (cpu_startup_entry+0x1e4/0x264)

[    2.765168] [<8005a11c>] (cpu_startup_entry) from [<800142a8>] (secondary_start_kernel+0x144/0x164)

[    2.774205] [<800142a8>] (secondary_start_kernel) from [<00008684>] (0x8684)

[    2.781244] CPU3: stopping

[    2.783955] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.18.10-v7+ #2

[    2.790316] [<80015ee8>] (unwind_backtrace) from [<800127b0>] (show_stack+0x20/0x24)

[    2.798061] [<800127b0>] (show_stack) from [<8051ff5c>] (dump_stack+0x98/0xd8)

[    2.805284] [<8051ff5c>] (dump_stack) from [<80014758>] (handle_IPI+0x234/0x268)

[    2.812677] [<80014758>] (handle_IPI) from [<800085f8>] (do_IPI+0x18/0x1c)

[    2.819551] [<800085f8>] (do_IPI) from [<80525774>] (__irq_svc+0x34/0x14c)

[    2.826415] Exception stack(0xb8ce7f70 to 0xb8ce7fb8)

[    2.831463] 7f60:                                     807d9ccc 00000000 00000000 00000000

[    2.839635] 7f80: b8ce6000 00000003 807d8dd4 808177c8 8081289c 807d8d74 8052a828 b8ce7fc4

[    2.847803] 7fa0: b8ce7fb8 b8ce7fb8 8000f498 8000f49c 60000113 ffffffff

[    2.854419] [<80525774>] (__irq_svc) from [<8000f49c>] (arch_cpu_idle+0x30/0x4c)

[    2.861816] [<8000f49c>] (arch_cpu_idle) from [<8005a11c>] (cpu_startup_entry+0x1e4/0x264)

[    2.870078] [<8005a11c>] (cpu_startup_entry) from [<800142a8>] (secondary_start_kernel+0x144/0x164)

[    2.879116] [<800142a8>] (secondary_start_kernel) from [<00008684>] (0x8684)


아래는 정상부팅일 경우

Uncompressing Linux... done, booting the kernel.

[    0.000000] Booting Linux on physical CPU 0xf00

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 3.18.3-v7+ (michael@ubuntu) (gcc version 4.7.4 (Ubuntu/Linaro 4.7.4-2ubuntu1) ) #4 SMP PREEMPT Thu Jan 29 09:31:27 EST 2015

[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine: BCM2709

[    0.000000] cma: Reserved 8 MiB at 0x39800000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] [bcm2709_smp_init_cpus] enter (8600->f3003010)

[    0.000000] [bcm2709_smp_init_cpus] ncores=4

[    0.000000] PERCPU: Embedded 11 pages/cpu @ba365000 s13120 r8192 d23744 u45056

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239776

[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1600 bcm2708_fb.fbheight=900 bcm2709.boardrev=0xa21041 bcm2709.serial=0xa37ce24e smsc95xx.macaddr=B8:27:EB:7C:E2:4E bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/disk/by-label/system-a init=/lib/systemd/systemd ro panic=-1 fixrtc elevator=deadline rootwait

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 927012K/966656K available (6645K kernel code, 409K rwdata, 1908K rodata, 444K init, 788K bss, 39644K reserved)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)

[    0.000000]     vmalloc : 0xbb800000 - 0xff000000   (1080 MB)

[    0.000000]     lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)

[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)

[    0.000000]       .text : 0x80008000 - 0x80862874   (8555 kB)

[    0.000000]       .init : 0x80863000 - 0x808d2000   ( 444 kB)

[    0.000000]       .data : 0x808d2000 - 0x809384a4   ( 410 kB)

[    0.000000]        .bss : 0x809384a4 - 0x809fd4a8   ( 789 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000] NR_IRQS:480

[    0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).

[    0.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns

[    0.000035] Switching to timer-based delay loop, resolution 52ns

[    0.000321] Console: colour dummy device 80x30

[    0.000363] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)

[    0.000388] pid_max: default: 32768 minimum: 301

[    0.000540] Security Framework initialized

[    0.000652] AppArmor: AppArmor initialized

[    0.000930] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000952] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.002296] Initializing cgroup subsys memory

[    0.002353] Initializing cgroup subsys devices

[    0.002383] Initializing cgroup subsys freezer

[    0.002409] Initializing cgroup subsys net_cls

[    0.002433] Initializing cgroup subsys blkio

[    0.002519] CPU: Testing write buffer coherency: ok

[    0.002603] ftrace: allocating 23086 entries in 68 pages

[    0.059149] missing device node for CPU 0

[    0.059187] missing device node for CPU 1

[    0.059198] missing device node for CPU 2

[    0.059208] missing device node for CPU 3

[    0.059227] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00

[    0.059244] [bcm2709_smp_prepare_cpus] enter

[    0.059377] Setting up static identity map for 0x5fdd90 - 0x5fddc4

[    0.119119] [bcm2709_boot_secondary] cpu:1 started (0) 17

[    0.119414] CPU1: Booted secondary processor

[    0.119422] [bcm2709_secondary_init] enter cpu:1

[    0.119480] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01

[    0.139127] [bcm2709_boot_secondary] cpu:2 started (0) 16

[    0.139364] CPU2: Booted secondary processor

[    0.139371] [bcm2709_secondary_init] enter cpu:2

[    0.139405] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02

[    0.159138] [bcm2709_boot_secondary] cpu:3 started (0) 18

[    0.159358] CPU3: Booted secondary processor

[    0.159365] [bcm2709_secondary_init] enter cpu:3

[    0.159396] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03

[    0.159501] Brought up 4 CPUs

[    0.159532] SMP: Total of 4 processors activated (153.60 BogoMIPS).

[    0.159543] CPU: All CPU(s) started in SVC mode.

[    0.160621] devtmpfs: initialized

[    0.184273] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

[    0.186260] pinctrl core: initialized pinctrl subsystem

[    0.186724] regulator-dummy: no parameters

[    0.187487] NET: Registered protocol family 16

[    0.193344] DMA: preallocated 4096 KiB pool for atomic coherent allocations

[    0.218893] cpuidle: using governor ladder

[    0.248924] cpuidle: using governor menu

[    0.249473] bcm2709.uart_clock = 3000000

[    0.251800] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[    0.251818] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.251855] mailbox: Broadcom VideoCore Mailbox driver

[    0.251951] bcm2708_vcio: mailbox at f300b880

[    0.252048] bcm_power: Broadcom power driver

[    0.252064] bcm_power_open() -> 0

[    0.252075] bcm_power_request(0, 8)

[    0.752766] bcm_mailbox_read -> 00000080, 0

[    0.752779] bcm_power_request -> 0

[    0.752910] Serial: AMBA PL011 UART driver

[    0.753045] uart-pl011 dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3

[    1.278902] console [ttyAMA0] enabled

[    1.352357] SCSI subsystem initialized

[    1.356350] usbcore: registered new interface driver usbfs

[    1.361994] usbcore: registered new interface driver hub

[    1.367434] usbcore: registered new device driver usb

[    1.373822] NetLabel: Initializing

[    1.377224] NetLabel:  domain hash size = 128

[    1.381571] NetLabel:  protocols = UNLABELED CIPSOv4

[    1.386622] NetLabel:  unlabeled traffic allowed by default

[    1.393106] Switched to clocksource arch_sys_counter

[    1.431003] FS-Cache: Loaded

[    1.434268] CacheFiles: Loaded

[    1.437799] AppArmor: AppArmor Filesystem Enabled

[    1.454386] NET: Registered protocol family 2

[    1.460051] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

[    1.467246] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    1.473922] TCP: Hash tables configured (established 8192 bind 8192)

[    1.480371] TCP: reno registered

[    1.483634] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    1.489596] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    1.496335] NET: Registered protocol family 1

[    1.501144] RPC: Registered named UNIX socket transport module.

[    1.507146] RPC: Registered udp transport module.

[    1.511847] RPC: Registered tcp transport module.

[    1.516577] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    1.523420] Trying to unpack rootfs image as initramfs...

[   14.530387] Freeing initrd memory: 12660K (ba393000 - baff0000)



음.. General Setup에 Initramfs source file가 누락되서 그런가?

링크를 보니 절대경로라는데.. 음? 머지 -ㅁ-?

[링크 : https://wiki.gentoo.org/wiki/Custom_Initramfs]


 .config - Linux/arm 3.18.10 Kernel Configuration

 > General setup qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq General setup qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

  x  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).  Highlighted        x

  x  letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  x

  x  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable    x

  x                                                                                                             x

  x lqqqqqqqqqqqqqqqqq^(-)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x

  x x                 -*- Kernel->user space relay support (formerly relayfs)                                 x x

  x x                 [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support                      x x

  x x                 ()    Initramfs source file(s)                                                          x x

  x x                 [*]   Support initial ramdisks compressed using gzip                                    x x

  x x                 [ ]   Support initial ramdisks compressed using bzip2                                   x x

  x x                 [ ]   Support initial ramdisks compressed using LZMA                                    x x

  x x                 [ ]   Support initial ramdisks compressed using XZ                                      x x

  x x                 [ ]   Support initial ramdisks compressed using LZO                                     x x

  x x                 [ ]   Support initial ramdisks compressed using LZ4                                     x x

  x x                 [ ] Optimize for size                                                                   x x

  x x                 -*- Configure standard kernel features (expert users)  --->                             x x

  x x                 [*] Embedded system                                                                     x x

  x x                     Kernel Performance Events And Counters  --->                                        x x

  x x                 [*] Enable VM event counters for /proc/vmstat                                           x x

  x x                 [*] Enable SLUB debugging support                                                       x x

  x mqqqqqqqqqqqqqqqqqv(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x

  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu

  x                          <Select>    < Exit >    < Help >    < Save >    < Load >                           x

  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


'embeded > raspberry pi' 카테고리의 다른 글

initramfs 조사  (0) 2015.04.17
라즈베리 파이 2 커널모듈 빌드  (0) 2015.04.16
라즈베리 파이 2 - RootFS in linux  (0) 2015.04.14
비글본 vs 라즈베리 파이 2  (0) 2015.04.09
라즈베리 파이 2 JFFS2 조사 = 불가!  (0) 2015.04.09
Posted by 구차니
embeded/raspberry pi2015. 4. 14. 21:10

openELEC

$ file *

LICENCE.broadcom:    ASCII text

SYSTEM:              Squashfs filesystem, little endian, version 4.0, 98925267 bytes, 9140 inodes, blocksize: 131072 bytes, created: Wed Apr  1 06:38:30 2015

bcm2709-rpi-2-b.dtb: data

bootcode.bin:        data

cmdline.txt:         ASCII text

config.txt:          ASCII text

fixup.dat:           data

kernel.img:          Linux kernel ARM boot executable zImage (little-endian)

overlays:            directory

start.elf:           ELF 32-bit LSB  executable, version 1 (SYSV), statically linked, stripped


$ ll -h

합계 105M

drwxr-xr-x 3 root root  16K  1월  1  1970 ./

drwxr-xr-x 3 root root 4.0K  3월 26 09:26 ../

-rwxr-xr-x 1 root root 1.5K  3월 31 21:38 LICENCE.broadcom*

-rwxr-xr-x 1 root root  95M  4월  4 01:59 SYSTEM*

-rwxr-xr-x 1 root root 5.6K  3월 31 21:38 bcm2709-rpi-2-b.dtb*

-rwxr-xr-x 1 root root  18K  3월 31 21:38 bootcode.bin*

-rwxr-xr-x 1 root root   46  2월 25 22:26 cmdline.txt*

-rwxr-xr-x 1 root root 4.6K  2월 25 22:26 config.txt*

-rwxr-xr-x 1 root root 9.0K  3월 31 21:38 fixup.dat*

-rwxr-xr-x 1 root root 6.1M  4월  4 01:59 kernel.img*

drwxr-xr-x 2 root root 4.0K  1월  1  1980 overlays/

-rwxr-xr-x 1 root root 4.5M  3월 31 21:38 start.elf*


ubuntu snappy

$ ll -h

합계 28M

drwxr-xr-x 5 root root 2.0K  1월  1  1970 ./

drwxr-xr-x 3 root root 4.0K  3월 26 09:26 ../

-rwxr-xr-x 1 root root  19K  1월 28 15:36 COPYING.linux*

-rwxr-xr-x 1 root root 1.5K  1월 28 15:36 LICENCE.broadcom*

drwxr-xr-x 3 root root  512  2월  2 10:08 a/

drwxr-xr-x 3 root root  512  2월  2 10:08 b/

-rwxr-xr-x 1 root root 4.2K  1월 28 15:36 bcm2708-rpi-b-plus.dtb*

-rwxr-xr-x 1 root root 4.2K  1월 28 15:36 bcm2708-rpi-b.dtb*

-rwxr-xr-x 1 root root  18K  1월 28 15:36 bootcode.bin*

-rwxr-xr-x 1 root root  149  1월 29 10:12 cmdline.txt*

-rwxr-xr-x 1 root root 1.4K  1월 29 10:12 config.txt*

-rwxr-xr-x 1 root root 6.0K  1월 28 15:36 fixup.dat*

-rwxr-xr-x 1 root root 2.3K  1월 28 15:36 fixup_cd.dat*

-rwxr-xr-x 1 root root 9.0K  1월 28 15:36 fixup_x.dat*

-rwxr-xr-x 1 root root  13M  1월 29 10:23 initrd.img*

-rwxr-xr-x 1 root root 3.9M  1월 28 15:36 kernel.img*

-rwxr-xr-x 1 root root 4.3M  1월 29 09:36 kernel7.img*

drwxr-xr-x 2 root root 1.5K  1월 28 15:36 overlays/

-rwxr-xr-x 1 root root 1.6K  1월  1  1980 snappy-system.txt*

-rwxr-xr-x 1 root root 2.6M  1월 28 15:36 start.elf*

-rwxr-xr-x 1 root root 541K  1월 28 15:36 start_cd.elf*

-rwxr-xr-x 1 root root 3.5M  1월 28 15:36 start_x.elf*

-rwxr-xr-x 1 root root    0  1월 29 11:21 uEnv.txt*


$ file *

COPYING.linux:          Pascal source, ASCII text

LICENCE.broadcom:       ASCII text

a:                      directory

b:                      directory

bcm2708-rpi-b-plus.dtb: data

bcm2708-rpi-b.dtb:      data

bootcode.bin:           data

cmdline.txt:            ASCII text

config.txt:             ASCII text

fixup.dat:              data

fixup_cd.dat:           data

fixup_x.dat:            data

initrd.img:             LZMA compressed data, streamed

kernel.img:             Linux kernel ARM boot executable zImage (little-endian)

kernel7.img:            Linux kernel ARM boot executable zImage (little-endian)

overlays:               directory

snappy-system.txt:      ASCII text, with very long lines

start.elf:              ELF 32-bit LSB  executable, version 1 (SYSV), statically linked, stripped

start_cd.elf:           ELF 32-bit LSB  executable, version 1 (SYSV), statically linked, stripped

start_x.elf:            ELF 32-bit LSB  executable, version 1 (SYSV), statically linked, stripped

uEnv.txt:               empty



라즈베리 파이 커널 컴파일

~/rasp/linux/arch/arm/boot$ ll -h

합계 12M

drwxrwxr-x  5 minimonk minimonk 4.0K  4월  9 22:45 ./

drwxrwxr-x 89 minimonk minimonk 4.0K  3월 26 17:24 ../

-rw-rw-r--  1 minimonk minimonk  109  4월  9 22:45 .Image.cmd

-rw-rw-r--  1 minimonk minimonk   46  3월 26 17:24 .gitignore

-rw-rw-r--  1 minimonk minimonk  136  4월  9 22:45 .zImage.cmd

-rwxrwxr-x  1 minimonk minimonk 8.1M  4월  9 22:45 Image*

-rw-rw-r--  1 minimonk minimonk 3.1K  3월 26 17:24 Makefile

drwxrwxr-x  2 minimonk minimonk 4.0K  3월 26 17:24 bootp/

drwxrwxr-x  2 minimonk minimonk 4.0K  4월  9 22:45 compressed/

drwxrwxr-x  3 minimonk minimonk  52K  4월  9 22:44 dts/

-rw-rw-r--  1 minimonk minimonk 1.7K  3월 26 17:24 install.sh

-rwxrwxr-x  1 minimonk minimonk 3.8M  4월  9 22:45 zImage*


~/rasp/linux/arch/arm/boot$ file *

Image:      data

Makefile:   ASCII text

bootp:      directory

compressed: directory

dts:        directory

install.sh: POSIX shell script, ASCII text executable

zImage:     Linux kernel ARM boot executable zImage (little-endian)


그러니까.. 저 zImage 파일을 다른걸로 이름 바꿔서 테스트 하면 되는거군?!

Posted by 구차니
embeded/ARM2015. 4. 13. 23:20

음.. rpm이 요구사항이라.. 우분투에서는 조금 빡센건가..

그나저나.. 저런거 깔아도 경로 문제는 해결이 안되는거 같던데.. 끄응...



[링크 : http://ltib.org/documentation-LtibFaq#ref_10]


sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev

sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool

sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool

sudo apt-get install uuid-dev liblzo2-dev

sudo apt-get install tcl dpkg

sudo apt-get install texinfo

sudo apt-get install texlive


[링크 : http://forum.falinux.com/zbxe/index.php?document_srl=785246&mid=lecture_tip]

[링크 : http://forum.falinux.com/zbxe/index.php?document_srl=785398&mid=lecture_tip]

'embeded > ARM' 카테고리의 다른 글

ARM926EJ / ARMv5TE  (0) 2015.07.28
Jazelle 관련 검색  (0) 2015.04.28
jffs2 on sd card  (0) 2015.04.09
sd 메모리 카드 블럭 사이즈  (0) 2015.04.09
mkfs.jffs2 압축없이 사용하기  (0) 2015.04.08
Posted by 구차니
embeded/raspberry pi2015. 4. 9. 23:00

문서를 찾다보니 라즈베리 2랑 비글본 성능을 비교한게 있는데

비글본의 경우 싱글코어 1기가 / 2000MIPS 인데

Cortex-A8과 Cortex-A7의 차이인지 라즈베리를 오버클럭해서 1기가로 올리면 성능 차이는 거의 없다고 할 정도이다.


nbench

Raspberry Pi Model B+ (700 MHz):

                                 INTEGER INDEX :        16.100

                                 FLOATING-POINT INDEX : 5.568


Raspberry Pi 2 Model B (1000 MHz)*:

                                 INTEGER INDEX :        22.322

                                 FLOATING-POINT INDEX:  9.578


BeagleBone Black (1000 MHz):

                                 INTEGER INDEX :        23.314

                                 FLOATING-POINT INDEX:  2.976

*using one core

[링크 : http://hackaday.com/2015/02/05/benchmarking-the-raspberry-pi-2/]



라즈베리 1 B+과 비글본 비교

머.. 솔찍히 이건 비글본이 거의 압승 -_-(10$ 센거 뺴면)

[링크 : http://makezine.com/magazine/how-to-choose-the-right-platform-raspberry-pi-or-beaglebone-black/]]

Posted by 구차니
embeded/raspberry pi2015. 4. 9. 12:10

된다는거야 안된다는거야 -_-

일단은 cmdline 상에는 rootfstype 옵션이 ext4가 기본이라고 한다.


ubuntu snappy와 openelec의 파일 시스템 지원여부 차이점

ubuntu@localhost:~$ cat /proc/filesystems

nodev   sysfs

nodev   rootfs

nodev   ramfs

nodev   bdev

nodev   proc

nodev   cgroup

nodev   cpuset

nodev   tmpfs

nodev   devtmpfs

nodev   debugfs

nodev   securityfs

nodev   sockfs

nodev   pipefs

nodev   rpc_pipefs

nodev   configfs

nodev   devpts


        ext3

        ext2

        ext4


        vfat




        msdos

nodev   ecryptfs

nodev   nfs

nodev   nfs4


nodev   autofs




        f2fs

nodev   mqueue


OpenELEC:~ # cat /proc/filesystems

nodev   sysfs

nodev   rootfs

nodev   ramfs

nodev   bdev

nodev   proc

nodev   cgroup


nodev   tmpfs

nodev   devtmpfs

nodev   debugfs


nodev   sockfs

nodev   pipefs

nodev   rpc_pipefs


nodev   devpts

        reiserfs

        ext3

        ext2

        ext4

        squashfs

        vfat

        iso9660

        hfsplus

        hfs



nodev   nfs

nodev   nfs4

nodev   cifs

nodev   autofs

        udf

        jfs

        xfs

        f2fs

nodev   mqueue

        btrfs


라즈베리 파이 2 커널에는 jffs2는 기본적으로 존재하지 않는다 (안돼!!!! ㅠㅠ)

 .config - Linux/arm 3.18.10 Kernel Configuration

 > File systems qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq File systems qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

  x  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).  Highlighted        x

  x  letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  x

  x  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable    x

  x                                                                                                             x

  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x

  x x                 < > Second extended fs support                                                          x x

  x x                 < > Ext3 journalling file system support                                                x x

  x x                 <*> The Extended 4 (ext4) filesystem                                                    x x

  x x                 [*]   Use ext4 for ext2/ext3 file systems                                               x x

  x x                 [*]   Ext4 POSIX Access Control Lists                                                   x x

  x x                 [*]   Ext4 Security Labels                                                              x x

  x x                 [ ]   EXT4 debugging support                                                            x x

  x x                 [ ] JBD2 (ext4) debugging support                                                       x x

  x x                 <M> Reiserfs support                                                                    x x

  x x                 [ ]   Enable reiserfs debug mode                                                        x x

  x x                 [ ]   Stats in /proc/fs/reiserfs                                                        x x

  x x                 [*]   ReiserFS extended attributes                                                      x x

  x x                 [*]     ReiserFS POSIX Access Control Lists                                             x x

  x x                 [*]     ReiserFS Security Labels                                                        x x

  x x                 <M> JFS filesystem support                                                              x x

  x x                 [*]   JFS POSIX Access Control Lists                                                    x x

  x x                 [*]   JFS Security Labels                                                               x x

  x x                 [ ]   JFS debugging                                                                     x x

  x x                 [*]   JFS statistics                                                                    x x

  x x                 <M> XFS filesystem support                                                              x x

  x x                 [*]   XFS Quota support                                                                 x x

  x x                 [*]   XFS POSIX ACL support                                                             x x

  x x                 [*]   XFS Realtime subvolume support                                                    x x

  x x                 [ ]   XFS Verbose Warnings                                                              x x

  x x                 [ ]   XFS Debugging support                                                             x x

  x x                 <M> GFS2 file system support                                                            x x

  x x                 [ ]   GFS2 DLM locking                                                                  x x

  x x                 <M> OCFS2 file system support                                                           x x

  x x                 <M>   O2CB Kernelspace Clustering                                                       x x

  x x                 <M>   OCFS2 Userspace Clustering                                                        x x

  x x                 [*]   OCFS2 statistics                                                                  x x

  x x                 [*]   OCFS2 logging support                                                             x x

  x x                 [ ]   OCFS2 expensive checks                                                            x x

  x x                 <M> Btrfs filesystem support                                                            x x

  x x                 [*]   Btrfs POSIX Access Control Lists                                                  x x

  x x                 [ ]   Btrfs with integrity check tool compiled in (DANGEROUS)                           x x

  x x                 [ ]   Btrfs will run sanity tests upon loading                                          x x

  x x                 [ ]   Btrfs debugging support                                                           x x

  x x                 [ ]   Btrfs assert support                                                              x x

  x x                 <M> NILFS2 file system support                                                          x x

  x x                 [*] Enable POSIX file locking API                                                       x x

  x x                 [*] Dnotify support                                                                     x x

  x x                 [*] Inotify support for userspace                                                       x x

  x x                 [*] Filesystem wide access notification                                                 x x

  x x                 -*- Quota support                                                                       x x

  x x                 [ ] Report quota messages through netlink interface                                     x x

  x x                 [*] Print quota warnings to console (OBSOLETE)                                          x x

  x x                 [ ] Additional quota sanity checks                                                      x x

  x x                 <M> Old quota format support                                                            x x

  x x                 <M> Quota format vfsv0 and vfsv1 support                                                x x

  x x                 <*> Kernel automounter version 4 support (also supports v3)                             x x

  x x                 <M> FUSE (Filesystem in Userspace) support                                              x x

  x x                 <M>   Character device in Userspace support                                             x x

  x x                 < > Overlay filesystem support                                                          x x

  x x                     Caches  --->                                                                        x x

  x x                     CD-ROM/DVD Filesystems  --->                                                        x x

  x x                     DOS/FAT/NT Filesystems  --->                                                        x x

  x x                     Pseudo filesystems  --->                                                            x x

  x x                 [*] Miscellaneous filesystems  --->                                                     x x

  x x                 [*] Network File Systems  --->                                                          x x

  x x                 -*- Native language support  --->                                                       x x

  x x                 <M> Distributed Lock Manager (DLM)  --->                                                x x

  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x

  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu

  x                          <Select>    < Exit >    < Help >    < Save >    < Load >                           x

  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 


[링크 : http://www.raspberrypi.org/forums/viewtopic.php?t=61631&p=460046]

[링크 : http://elinux.org/RPi_cmdline.txt]

[링크 : https://forum.openwrt.org/viewtopic.php?id=52133]

[링크 : https://fiasko-nw.net/~thomas/projects/rpi/usb-rootfs.html.en

Posted by 구차니
embeded/ARM2015. 4. 9. 10:00

전반적으로...

SD card에 JFFS를 쓰는건 듣도 보도 못한 이야기다! 라는 느낌 -_-

아.. 앙대 ㅠㅠ


일부 SD 메모리에는 자체적으로 wear leveling을 지원한다고 하니..

그런걸 쓰고 noatime 정도가 한계이려나?


[링크 : http://lists.rocketboards.org/pipermail/rfi/2014-October/002413.html]

[링크 : http://superuser.com/questions/248078/choice-of-filesystem-for-gnu-linux-on-an-sd-card]

[링크 : http://wiki.openmoko.org/wiki/FileSystem_microSD_cards]

'embeded > ARM' 카테고리의 다른 글

Jazelle 관련 검색  (0) 2015.04.28
ltib 패키지 요구사항  (0) 2015.04.13
sd 메모리 카드 블럭 사이즈  (0) 2015.04.09
mkfs.jffs2 압축없이 사용하기  (0) 2015.04.08
bogoMIPS가 너무 낮게 나오네  (0) 2015.03.03
Posted by 구차니
embeded/ARM2015. 4. 9. 09:16


sd 메모리를 jffs2용으로 포맷하려다 보니

eraseblock 이라는 옵션에 넣을 블럭 사이즈를 검색..

일단 샌디스크에서는 512 바이트 인 것 같은데..


예제로 나온게 128KB(0x2000) 인 것 봐서는 Flash에서만 가능한듯 하다.



[링크 : http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Components/General/SDSpec.pdf]

'embeded > ARM' 카테고리의 다른 글

ltib 패키지 요구사항  (0) 2015.04.13
jffs2 on sd card  (0) 2015.04.09
mkfs.jffs2 압축없이 사용하기  (0) 2015.04.08
bogoMIPS가 너무 낮게 나오네  (0) 2015.03.03
arm7l softfp hardfp fmac  (0) 2015.02.28
Posted by 구차니