1. 程式人生 > >移植Linux4.x到tiny4412開發板記錄

移植Linux4.x到tiny4412開發板記錄

U-Boot 2010.12 (Nov 30 2015 - 15:20:01) for TINY4412




CPU:    S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
        APLL = 1400MHz, MPLL = 800MHz


Board:  TINY4412
DRAM:   1023 MiB


vdd_arm: 1.2
vdd_int: 1.0
vdd_mif: 1.1


BL1 version:  N/A (TrustZone Enabled BSP)




Checking Boot Mode ... SDMMC
REVISION: 1.1
MMC Device 0: 3796 MB
MMC Device 1: 3728 MB
MMC Device 2: N/A
Net:    No ethernet found.
Hit any key to stop autoboot:  0 
Partition1: Start Address(0x5cd40b), Size(0x17a444)
reading image/exynos4412-smdk4412.dtb


41628 bytes read
reading kernel..device 0 Start 1057, Count 12288 
MMC read: dev # 0, block # 1057, count 12288 ... 12288 blocks read: OK
completed
## Booting kernel from Legacy Image at 40007fc0 ...
   Image Name:   Linux-4.2.6
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3993296 Bytes = 3899 KiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
   Booting using the fdt blob at 0x41000000
   Loading Kernel Image ... OK
OK
WARNING: could not set reg FDT_ERR_NOSPACE.


Starting kernel ...


[    0.000000] Booting Linux on physical CPU 0xa00
[    0.000000] Linux version 4.2.6 (
[email protected]
) (gcc version 4.9.3 (Buildroot 2015.08) ) #7 SMP PREEMPT Wed Dec 2 20:26:32 CST 2015
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Samsung SMDK evaluation board based on Exynos4412
[    0.000000] cma: Reserved 64 MiB at 0x7c000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Samsung CPU ID: 0xe4412011
[    0.000000] PERCPU: Embedded 11 pages/cpu @eef9f000 s14272 r8192 d22592 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256528
[    0.000000] Kernel command line: noinitrd root=/dev/nfs nfsroot=192.168.1.108:/work/system/zxl4412_root ip=192.168.1.123:192.168.1.108:192.168.1.1:255.255.255.0::eth0:off init=/linuxrc console=ttySAC0,115200
[    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: 949140K/1032192K available (5452K kernel code, 221K rwdata, 1920K rodata, 320K init, 297K bss, 17516K reserved, 65536K cma-reserved, 204800K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc073b434   (7374 kB)
[    0.000000]       .init : 0xc073c000 - 0xc078c000   ( 320 kB)
[    0.000000]       .data : 0xc078c000 - 0xc07c3720   ( 222 kB)
[    0.000000]        .bss : 0xc07c6000 - 0xc081056c   ( 298 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] GIC physical location is 0x10490000
[    0.000000] L2C: platform modifies aux control register: 0x02070000 -> 0x3e470001
[    0.000000] L2C: platform provided aux values permit register corruption.
[    0.000000] L2C: DT/platform modifies aux control register: 0x02070000 -> 0x3e470001
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x4100c4c8, AUX_CTRL 0x4e470001
[    0.000000] Exynos4x12 clocks: sclk_apll = 466666667, sclk_mpll = 800000000
[    0.000000]  sclk_epll = 96000000, sclk_vpll = 108000000, arm_clk = 1400000000
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000105] Console: colour dummy device 80x30
[    0.000118] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000127] pid_max: default: 32768 minimum: 301
[    0.000200] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000207] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000556] CPU: Testing write buffer coherency: ok
[    0.000739] CPU0: thread -1, cpu 0, socket 10, mpidr 80000a00
[    0.000966] Setting up static identity map for 0x40008280 - 0x400082d8
[    0.020150] CPU1: thread -1, cpu 1, socket 10, mpidr 80000a01
[    0.025150] CPU2: thread -1, cpu 2, socket 10, mpidr 80000a02
[    0.030145] CPU3: thread -1, cpu 3, socket 10, mpidr 80000a03
[    0.030183] Brought up 4 CPUs
[    0.030195] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.030200] CPU: All CPU(s) started in SVC mode.
[    0.030553] devtmpfs: initialized
[    0.039365] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.039626]
[email protected]
has as child subdomain: [email protected]
[    0.039998] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.041944] pinctrl core: initialized pinctrl subsystem
[    0.042695] NET: Registered protocol family 16
[    0.044149] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059994] cpuidle: using governor ladder
[    0.074990] cpuidle: using governor menu
[    0.075698] exynos-audss-clk 3810000.clock-controller: setup completed
[    0.107040] SCSI subsystem initialized
[    0.107413] usbcore: registered new interface driver usbfs
[    0.107487] usbcore: registered new interface driver hub
[    0.107568] usbcore: registered new device driver usb
[    0.108527] Advanced Linux Sound Architecture Driver Initialized.
[    0.109563] clocksource: Switched to clocksource mct-frc
[    0.119275] missing cooling_device property
[    0.119284] failed to build thermal zone cpu-thermal: -2
[    0.119371] NET: Registered protocol family 2
[    0.119740] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.119800] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.119920] TCP: Hash tables configured (established 8192 bind 8192)
[    0.119991] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.120018] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.120150] NET: Registered protocol family 1
[    0.120339] RPC: Registered named UNIX socket transport module.
[    0.120346] RPC: Registered udp transport module.
[    0.120350] RPC: Registered tcp transport module.
[    0.120354] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.121720] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.131314] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[    0.131760] bounce: pool size: 64 pages
[    0.131771] io scheduler noop registered
[    0.131780] io scheduler deadline registered
[    0.132079] io scheduler cfq registered (default)
[    0.137221] dma-pl330 12680000.pdma: Loaded driver for PL330 DMAC-141330
[    0.137232] dma-pl330 12680000.pdma:         DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.140258] dma-pl330 12690000.pdma: Loaded driver for PL330 DMAC-141330
[    0.140267] dma-pl330 12690000.pdma:         DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.141137] dma-pl330 12850000.mdma: Loaded driver for PL330 DMAC-141330
[    0.141146] dma-pl330 12850000.mdma:         DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[    0.202578] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.203861] 13800000.serial: ttySAC0 at MMIO 0x13800000 (irq = 46, base_baud = 0) is a S3C6400/10
[    0.826375] console [ttySAC0] enabled
[    0.830294] 13810000.serial: ttySAC1 at MMIO 0x13810000 (irq = 47, base_baud = 0) is a S3C6400/10
[    0.839110] 13820000.serial: ttySAC2 at MMIO 0x13820000 (irq = 48, base_baud = 0) is a S3C6400/10
[    0.847958] 13830000.serial: ttySAC3 at MMIO 0x13830000 (irq = 49, base_baud = 0) is a S3C6400/10
[    0.857334] [drm] Initialized drm 1.1.0 20060810
[    0.868845] brd: module loaded
[    0.872601] loop: module loaded
[    0.873293] usbcore: registered new interface driver cdc_ether
[    0.873386] usbcore: registered new interface driver dm9601
[    0.878752] usbcore: registered new interface driver cdc_subset
[    0.884642] usbcore: registered new interface driver zaurus
[    0.890229] usbcore: registered new interface driver cdc_ncm
[    0.896130] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.902312] ehci-exynos: EHCI EXYNOS driver
[    0.906475] drivers/usb/host/ehci-exynos.c ehci_exynos_init 369
[    0.912443] drivers/usb/host/ehci-exynos.c exynos_ehci_probe 181
[    0.918368] drivers/usb/host/ehci-exynos.c exynos_ehci_probe 186
[    0.924363] drivers/usb/host/ehci-exynos.c exynos_ehci_probe 197
[    0.930346] drivers/usb/host/ehci-exynos.c exynos_ehci_probe 202
[    0.936361] drivers/usb/host/ehci-exynos.c exynos_ehci_probe 207
[    0.943338] usb4604 initialize............
[    0.946871] exynos-ehci 12580000.ehci: EHCI Host Controller
[    0.951978] exynos-ehci 12580000.ehci: new USB bus registered, assigned bus number 1
[    0.959855] exynos-ehci 12580000.ehci: irq 44, io mem 0x12580000
[    0.974589] exynos-ehci 12580000.ehci: USB 2.0 started, EHCI 1.00
[    0.974754] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.978509] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.985727] usb usb1: Product: EHCI Host Controller
[    0.990584] usb usb1: Manufacturer: Linux 4.2.6 ehci_hcd
[    0.995879] usb usb1: SerialNumber: 12580000.ehci
[    1.000996] hub 1-0:1.0: USB hub found
[    1.004304] hub 1-0:1.0: 3 ports detected
[    1.008761] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.014467] ohci-exynos: OHCI EXYNOS driver
[    1.018825] usbcore: registered new interface driver usb-storage
[    1.024963] mousedev: PS/2 mouse device common for all mice
[    1.030939] input: 100a0000.keypad as /devices/platform/100a0000.keypad/input/input0
[    1.046437] i2c /dev entries driver
[    1.047875] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised:
[email protected]

[    1.049855] sdhci: Secure Digital Host Controller Interface driver
[    1.055869] sdhci: Copyright(c) Pierre Ossman
[    1.060500] s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
[    1.067917] s3c-sdhci 12530000.sdhci: No vmmc regulator found
[    1.073404] s3c-sdhci 12530000.sdhci: No vqmmc regulator found
[    1.104588] mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
[    1.104751] Synopsys Designware Multimedia Card Interface Driver
[    1.105606] usbcore: registered new interface driver usbhid
[    1.105661] usbhid: USB HID core driver
[    1.107176] NET: Registered protocol family 17
[    1.109387] NET: Registered protocol family 15
[    1.113946] Registering SWP/SWPB emulation handler
[    1.119331] hctosys: unable to open rtc device (rtc0)
[    1.139086] mmc0: new high speed SDHC card at address 1234
[    1.139414] mmcblk0: mmc0:1234 SA04G 3.70 GiB 
[    1.141372]  mmcblk0: p1 p2 p3 p4
[    1.314587] usb 1-2: new high-speed USB device number 2 using exynos-ehci
[    1.445205] usb 1-2: New USB device found, idVendor=0424, idProduct=4604
[    1.445270] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.445818] hub 1-2:1.0: USB hub found
[    1.445951] hub 1-2:1.0: 5 ports detected
[    1.729584] usb 1-2.4: new high-speed USB device number 3 using exynos-ehci
[    1.834952] usb 1-2.4: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 0, changing to 9
[    1.907952] usb 1-2.4: New USB device found, idVendor=0a46, idProduct=9621
[    1.908018] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.912586] dm9601 1-2.4:1.0 eth0: register 'dm9601' at usb-12580000.ehci-2.4, Davicom DM96xx USB 10/100 Ethernet, 00:00:ff:ff:00:00
[    1.994585] usb 1-2.5: new high-speed USB device number 4 using exynos-ehci
[    2.100204] usb 1-2.5: New USB device found, idVendor=0424, idProduct=2530
[    2.100270] usb 1-2.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.100338] usb 1-2.5: Product: Bridge device
[    2.140947] dm9601 1-2.4:1.0 eth0: link down
[   12.139580] Waiting up to 110 more seconds for network.
[   14.506447] dm9601 1-2.4:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   14.524661] IP-Config: Complete:
[   14.524698]      device=eth0, hwaddr=00:00:ff:ff:00:00, ipaddr=192.168.1.123, mask=255.255.255.0, gw=192.168.1.1
[   14.524790]      host=192.168.1.123, domain=, nis-domain=(none)
[   14.524845]      bootserver=192.168.1.108, rootserver=192.168.1.108, rootpath=
[   14.529260] ALSA device list:
[   14.531807]   No soundcards found.
[   15.229516] VFS: Mounted root (nfs filesystem) readonly on device 0:13.
[   15.259249] devtmpfs: mounted
[   15.259466] Freeing unused kernel memory: 320K (c073c000 - c078c000)
********************************
Please press Enter to activate this console. 
Myroot /# 
Myroot /# ls
Settings            include             opt                 usr
bin                 lib                 proc                var
bmp                 linuxrc             sbin                video
dev                 live555MediaServer  share               video2lcd
drv                 mjpg                sys
etc                 opencv              tmp

相關推薦

移植Linux4.x到tiny4412開發記錄

U-Boot 2010.12 (Nov 30 2015 - 15:20:01) for TINY4412 CPU:    S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]         APLL = 14

移植linux3.7.4系統到itop4412開發記錄

最近要移植linux3.7.4系統到itop4412開發板,好長時間沒有移植系統了,今天弄了一下,都感覺手生了。 首先先編譯一下核心試下,然後再慢慢移植各驅動 1.下載linux核心原始碼 2.進入核心原始碼目錄,修改makefile中的arch =arm 交叉編譯器為我們

Mplayer移植到am335x開發

dev oss lsa mencoder with enable mp3 nav ive 參考《mplayer 移植到 arm 心得》 ,http://blog.csdn.net/xiaohuangzhilin/article/details/52399746 移植了mpl

linux-2.6.32移植到qq2440開發手冊

虛 擬 機: RedHat 9.0交叉編譯器: arm-linux-gcc-4.3.2開 發 板: QQ2440V3本次移植用到的核心原始碼包為: linux-2.6.32.2-mini2440-20110413.tar.gz。1.修改頂層的 Makefile:ARCH ?= armCROS

移植opencv到開發,攝像頭在開發6410上的採集使用(1)

最近在搞人眼檢測 人臉識別移植opencv qt 到開發板tiny6410的時候在虛擬機器跑得程式可以用,但是一直到開發板一堆錯誤。 移植qt我簡單寫一下很簡單 然後安裝QT4.7 ①     拷貝壓縮包到主機/opt目錄下 ② 

將lrzsz工具移植到ARM開發 ---只通過串列埠實現window和ARM之間檔案互傳

事情背景:由於需要在windows和ARM板之間只通過串列埠傳輸檔案(windows的檔案只通過串列埠傳輸到ARM板上) 這時超級終端SecureCRT+lrzsz工具可以完成這項使命!(其他終端軟體

lrzsz串列埠工具移植到ARM開發

lrzsz是一個Unix通訊包,提供XMODEM、YMODEM和ZMODEM檔案傳輸協議。lrzsz以前是Omen科技的主打軟體,現在已經免費,並且遵循GNU開源協議。 lrzsz適合這樣一種開發環境,一塊板子,除了串列埠,沒有任何外部出入輸出裝置,沒有sd卡,沒有網線,這個時候如

python和json 移植到 ARM開發

下載移植包:http://download.csdn.net/detail/lyh2529/72389411.將bin12.02.tar傳送到arm板上,並將其解壓到arm板上作業系統的bin目錄下,命令為:tar -xvf bin12.02.tar -C /2.將lib12.02.tar傳送到arm板上,並

將dropbear SSH移植到arm9開發

昨天用了openSSH,做了個移植,無奈生成的檔案太大,生成的二進位制程式大概15M的樣子,整個Flash都裝不下所以不適合一般的嵌入式裝置。 恰巧今天同事提到了dropbear,這個可是個好東西,大家可以百度一下,他是個輕量級的SSH伺服器,非常適合安裝到嵌入式裝置中,我

SQLITE+PYTHON成功移植到ARM開發執行

下載原始碼: Sqlite 3.6.23.1 http://www.sqlite.org/sqlite-3.6.23.1.tar.gz Python 2.6.5 http://www.python.org/ftp/python/2.6.5/Python-2.6.5.tar.bz2 由於sqlite是pyth

vsftpd-2.3.4移植到8621開發

客戶不知道從哪裡買來塊板子,讓我幫他移植程式。先開始搭環境。 (1)解壓vsftpd-2.3.4.tar.gz   #tar xvzf vsftpd-2.3.4.tar.gz (2)交叉編譯     需要修改的地方有兩處。 第一處是Makefile: # Ma

openssl移植的arm開發全過程

1.交叉編譯參考了:我的makefile修改完如下:#CC=gccCC=armv6zk-none-linux-gnueabi-gccCFLAG= -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS-D_REENTRANT -DDSO_DLFCN -DH

轉:移植tslib到開發及部分問題解決

1.1. 移植QT到開發板1.1.1. tslib移植tar xvzf kergoth-tslib-1.0-89-g412d99d.tar.gzcd kergoth-tslib-412d99d./autogen.sh./configure --prefix=/

將node.js移植到arm開發

node.js版本  0.12.6   下載地址:https://nodejs.org/download/release/v0.12.6/   我用的版本是:node-v0.12.6.tar.gz a

I.MX6開發移植Linux4.1.15核心之TSC2007觸控式螢幕裝置樹資訊的新增

之前寫過一篇3.0.35核心移植關於TSC2007觸控式螢幕驅動移植的文章。裡面對TSC2007.c驅動程式的分析比較清晰,點選連結檢視:點選連結檢視 本篇文章,主要記錄在4.1.15核心移植的過程中,對於TSC2007裝置的新增,需要如何新增裝置樹資訊。 1、

移植wpa_supplicant2.5到arm開發

this func gnu error netlink eabi err erro arm-linux 編譯libnl1-1: ./configure --host=arm-linux --enable-static --prefix=/usr/local/ssl CC

移植QT5.6到嵌入式開發(史上最詳細的QT移植教程)

文件傳輸 嵌入式環境 ubun 導致 字庫 etc -a led fill 目前網上的大多數 QT 移植教程還都停留在 qt4.8 版本,或者還有更老的 Qtopia ,但是目前 Qt 已經發展到最新的 5.7 版本了,我個人也已經使用了很長一段時間的 qt5.6 for

關於開發、虛擬機之間ping通和tftp下載鏡像問題解決記錄

ping tftp 首先,用一根網線將電腦連接在可以上網的設備上(我直接連接的路由器,當前PC上網用的是無線),這樣為了解決電腦上網用的無線網卡而導致有線網卡不工作的情況,另外用一根網線將開發板也連接到路由器。 現在我的情況是: 第一、虛擬機設置的是橋接模式,橋接到無線網卡上,上網正常。

四、移植 JZ2440 開發

FN con needed undefine wan 添加 checkout error: mean 4.1 移植第一步   前面已經分析過了 .config 的過程,可以知道移植需要用到的文件: .config 文件 arch/arm/cpu 下的文件 board 目錄

CC2640R2F&TI-RTOS 拿到 TI CC2640R2F 開發 第一件事就是移植串口驅動,重定向 printf

ade 默認值 hand drivers exp bin 初始化 strong simple /* * board_uart.c * * Created on: 2018年7月3日 * Author: admin */ #include "boa