查看: 3166|回复: 0

SAMA5D4 Xplained Ultra第一次启动

[复制链接]
  • TA的每日心情
    奋斗
    2023-12-3 18:51
  • 签到天数: 772 天

    连续签到: 1 天

    [LV.10]以坛为家III

    发表于 2015-9-14 08:49:06 | 显示全部楼层 |阅读模式
    分享到:
    这个板子高大上,只有一个小卡片的说明。总结一下所有的资料跑不过两个网址:
    www.atmel.com/sama5d4xplained
    www.Linux4SAM.com
    一个是关于硬件一个是关于软件。
    然后是到www.atmel.com网站下载一个Atmel USB驱动:
    在网站的首页的atmel gallery中。

    然后安装,由于本人的笔记本里以有了Atmle EDBG驱动,所以就直接把开发板插到USB口,另一个连到板子的EDBG-USB。
    这时查出COM号为COM25。
    由是打开串口助手之类听串口工具,然后复位下开发板,打印信息如下。

    这时可登录了,键入root没有密码。
    RomBOOTAll interupts redirected to AICHDMI SiI9022: Enter D3 Cold modePHY: GMAC0 KSZ8081RNB: Enter power down modeAT91Bootstrap 3.7.1 (Thu Oct 30 15:25:32 CST 2014)EEPROM: Loading AT24xx information ...EEPROM: BoardName | [Revid] | VendorNameHW Info: The total size isn't correct1-Wire: Using default information1-Wire: Board sn: 0x1012420, revsion: 0x680820NAND: ONFI flash detectedNAND: Manufacturer ID: 0x2c Chip ID: 0x34NAND: Disable On-Die ECCNAND: Initialize PMECC params, cap: 0x8, sector: 0x200NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000NAND: Done to load imageU-Boot 2014.07 (Oct 29 2014 - 16:59:40)CPU: SAMA5D4Crystal frequency:       12 MHzCPU clock        :      528 MHzMaster clock     :      176 MHzDRAM:  512 MiBNAND:  512 MiBMMC:   mci: 0In:    serialOut:   serialErr:   serialNet:   gmac0Warning: failed to set MAC addressHit any key to stop autoboot:  0 NAND read: device 0 offset 0x180000, size 0x4a87 19079 bytes read: OKNAND read: device 0 offset 0x200000, size 0x2c8908 2918664 bytes read: OKKernel image @ 0x22000000 [ 0x000000 - 0x2c8908 ]## Flattened Device Tree blob at 21000000   Booting using the fdt blob at 0x21000000   Loading Device Tree to 3fb3e000, end 3fb45a86 ... OKStarting kernel ...Uncompressing Linux... done, booting the kernel.Booting Linux on physical CPU 0x0Initializing cgroup subsys cpusetInitializing cgroup subsys cpuInitializing cgroup subsys cpuacctLinux version 3.10.0-custom (josh@melon) (gcc version 4.8.2 (GCC) ) #1 Thu Oct 30 16:04:45 CST 2014CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7dCPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine: Atmel SAMA5 (Device Tree), model: Atmel SAMA5D4 Xplained ULTRAMemory policy: ECC disabled, Data cache writebackAT91: Detected soc type: sama5d4AT91: Detected soc subtype: sama5d44AT91: sram at 0x210000 of 0x10000 mapped at 0xfef68000CPU: All CPU(s) started in SVC mode.Clocks: PLLA 1056 MHz, main 12.000 MHzClocks: CPU 528 MHz, master 176 MHz, h32mx 88 MHzBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048Kernel command line: console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rwPID hash table entries: 2048 (order: 1, 8192 bytes)Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)Memory: 512MB = 512MB totalMemory: 513828k/513828k available, 10460k reserved, 0K highmemVirtual kernel memory layout:    vector  : 0xffff0000 - 0xffff1000   (   4 kB)    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)    modules : 0xbf000000 - 0xc0000000   (  16 MB)      .text : 0xc0008000 - 0xc053954c   (5318 kB)      .init : 0xc053a000 - 0xc055f4cc   ( 150 kB)      .data : 0xc0560000 - 0xc0595580   ( 214 kB)       .bss : 0xc0595580 - 0xc05b8740   ( 141 kB)NR_IRQS:16 nr_irqs:16 16sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286msConsole: colour dummy device 80x30Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)pid_max: default: 32768 minimum: 301Mount-cache hash table entries: 512Initializing cgroup subsys devicesInitializing cgroup subsys freezerInitializing cgroup subsys blkioCPU: Testing write buffer coherency: okSetting up static identity map for 0xc03c92f8 - 0xc03c9350devtmpfs: initializedpinctrl core: initialized pinctrl subsystemNET: Registered protocol family 16DMA: preallocated 256 KiB pool for atomic coherent allocationsL310 cache controller enabledl2x0: 8 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x32020000, Cache size: 131072 BAT91: Power Management (with slow clock mode)AT91: Starting after user resetgpio-at91 fc06a000.gpio: at address fb06a000gpio-at91 fc06b000.gpio: at address fb06b000gpio-at91 fc06c000.gpio: at address fb06c000gpio-at91 fc06d000.gpio: at address fb06d000pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driverbio: create slab <bio-0> at 0at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xe084c000at_xdmac f0014000.dma-controller: 16 channels, mapped at 0xe084e000SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbLinux video capture interface: v2.00Advanced Linux Sound Architecture Driver Initialized.Switching to clocksource tcb_clksrcNET: Registered protocol family 2TCP established hash table entries: 4096 (order: 3, 32768 bytes)TCP bind hash table entries: 4096 (order: 2, 16384 bytes)TCP: Hash tables configured (established 4096 bind 4096)TCP: reno registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1RPC: Registered named UNIX socket transport module.RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.msgmni has been set to 1003io scheduler noop registered (default)fc00c000.serial: ttyS0 at MMIO 0xfc00c000 (irq = 28) is a ATMEL_SERIALconsole [ttyS0] enabledfc010000.serial: ttyS1 at MMIO 0xfc010000 (irq = 29) is a ATMEL_SERIALbrd: module loadedloop: module loadedatmel_nand_nfc 90000000.nfc: NFC is probed.atmel_nand 80000000.nand: Cannot get PMECC lookup table offsetatmel_nand: Use On Flash BBTatmel_nand 80000000.nand: Using dma0chan0 for DMA transfers.ONFI param page 0 validONFI flash detectedNAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABAEAWP), 512MiB, page size: 4096, OOB size: 224atmel_nand 80000000.nand: ONFI params, minimum required ECC: 8 bits in 512 bytesatmel_nand 80000000.nand: Initialize PMECC params, cap: 8, sector: 512atmel_nand 80000000.nand: invalid resourceatmel_nand 80000000.nand: Can not get I/O resource for ROM. So build lookup runtime!atmel_nand 80000000.nand: Using NFC Sram read and writeBad block table found at page 131008, version 0x01Bad block table found at page 130944, version 0x018 cmdlinepart partitions found on MTD device atmel_nandCreating 8 MTD partitions on "atmel_nand":0x000000000000-0x000000040000 : "bootstrap"0x000000040000-0x0000000c0000 : "uboot"0x0000000c0000-0x000000100000 : "env"0x000000100000-0x000000140000 : "env_redundant"0x000000140000-0x000000180000 : "spare"0x000000180000-0x000000200000 : "dtb"0x000000200000-0x000000800000 : "kernel"0x000000800000-0x000020000000 : "rootfs"atmel_spi f8010000.spi: version: 0x221at_xdmac f0004000.dma-controller: chan dt cfg: memif=0 perif=1 perid=10at_xdmac f0004000.dma-controller: chan dt cfg: memif=0 perif=1 perid=11atmel_spi f8010000.spi: Using dma0chan1 (tx) and dma0chan2 (rx) for DMA transfersatmel_spi f8010000.spi: Atmel SPI Controller at 0xf8010000 (irq 20)atmel_spi f8010000.spi: master is unqueued, this is deprecatedm25p80 spi32766.0: found mr25h256, expected at25df321am25p80 spi32766.0: mr25h256 (32 Kbytes)macb f8020000.ethernet (unregistered net_device): invalid hw address, using randomlibphy: MACB_mii_bus: probedmacb f8020000.ethernet eth0: Cadence rev 0x00020120macb f8020000.ethernet eth0: Cadence GEM at 0xf8020000 irq 22 (ba:0a:b1:2f:80:61)macb f8020000.ethernet eth0: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8020000.etherne:00, irq=-1)ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-atmel: EHCI Atmel driveratmel-ehci 600000.ehci: EHCI Host Controlleratmel-ehci 600000.ehci: new USB bus registered, assigned bus number 1atmel-ehci 600000.ehci: irq 37, io mem 0x00600000atmel-ehci 600000.ehci: USB 2.0 started, EHCI 1.00usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: EHCI Host Controllerusb usb1: Manufacturer: Linux 3.10.0-custom ehci_hcdusb usb1: SerialNumber: 600000.ehcihub 1-0:1.0: USB hub foundhub 1-0:1.0: 3 ports detectedohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driverat91_ohci 500000.ohci: AT91 OHCIat91_ohci 500000.ohci: new USB bus registered, assigned bus number 2at91_ohci 500000.ohci: irq 37, io mem 0x00500000usb usb2: New USB device found, idVendor=1d6b, idProduct=0001usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: AT91 OHCIusb usb2: Manufacturer: Linux 3.10.0-custom ohci_hcdusb usb2: SerialNumber: at91hub 2-0:1.0: USB hub foundhub 2-0:1.0: 3 ports detectedusbcore: registered new interface driver usb-storageat91_rtc fc0686b0.rtc: rtc core: registered fc0686b0.rtc as rtc0at91_rtc fc0686b0.rtc: AT91 Real Time Clock driver.i2c /dev entries driverat91sam9_wdt: sorry, watchdog is disabledat91_wdt: probe of fc068640.watchdog failed with error -5leds-gpio leds.4: pins are not configured from the driverledtrig-cpu: registered to indicate activity on CPUsusbcore: registered new interface driver usbhidusbhid: USB HID core driveriio iio:device0: Resolution used: 10 bitsiio iio:device0: ADC Touch screen is disabled.TCP: cubic registeredNET: Registered protocol family 17VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1UBI: attaching mtd7 to ubi0atmel_nand 80000000.nand: Bit flip in data area, byte_pos: 1468, bit_pos: 7, 0x80 -> 0x00atmel_nand 80000000.nand: Bit flip in data area, byte_pos: 2570, bit_pos: 7, 0x80 -> 0x00UBI: scanning is finishedUBI: attached mtd7 (name "rootfs", size 504 MiB) to ubi0UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytesUBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096UBI: VID header offset: 4096 (aligned 4096), data offset: 8192UBI: good PEBs: 2012, bad PEBs: 4, corrupted PEBs: 0UBI: user volume: 1, internal volumes: 1, max. volumes count: 128UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 941587439UBI: available PEBs: 0, total reserved PEBs: 2012, PEBs reserved for bad PEB handling: 36UBI: background thread "ubi_bgt0d" started, PID 521input: gpio_keys.3 as /devices/gpio_keys.3/input/input0at91_rtc fc0686b0.rtc: setting system clock to 2014-10-30 08:27:34 UTC (1414657654)atmel_mci fc000000.mmc: version: 0x600at_xdmac f0004000.dma-controller: chan dt cfg: memif=0 perif=1 perid=1atmel_mci fc000000.mmc: using dma0chan3 for DMA transfersatmel_mci fc000000.mmc: Atmel MCI controller at 0xfc000000 irq 27, 1 slotsALSA device list:  No soundcards found.UBIFS: background thread "ubifs_bgt0_0" started, PID 528UBIFS: recovery neededUBIFS: recovery completedUBIFS: mounted UBI device 0, volume 0, name "rootfs"(null)UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytesUBIFS: FS size: 498253824 bytes (475 MiB, 1962 LEBs), journal size 9404416 bytes (8 MiB, 38 LEBs)UBIFS: reserved for root: 0 bytes (0 KiB)UBIFS: media format: w4/r0 (latest is w4/r0), UUID 6D0F978D-1780-4A08-A7BB-D1CE7FC16A02, small LPT modelVFS: Mounted root (ubifs filesystem) on device 0:12.devtmpfs: mountedFreeing unused kernel memory: 148K (c053a000 - c055f000)INIT: version 2.88 bootingatmel_nand 80000000.nand: Bit flip in data area, byte_pos: 3746, bit_pos: 5, 0xaf -> 0x8fStarting udevatmel_nand 80000000.nand: Bit flip in data area, byte_pos: 1996, bit_pos: 1, 0x5e -> 0x5catmel_nand 80000000.nand: Bit flip in data area, byte_pos: 1996, bit_pos: 1, 0x5e -> 0x5cudevd[554]: starting version 182atmel_usba_udc 400000.gadget: MMIO registers at 0xfc02c000 mapped at e09d0000atmel_usba_udc 400000.gadget: FIFO at 0x00400000 mapped at e9200000g_serial gadget: Gadget Serial v2.4g_serial gadget: g_serial readyStarting Bootlog daemon: bootlogd.net.ipv4.conf.default.rp_filter = 1net.ipv4.conf.all.rp_filter = 1Starting atd: OKINIT: Entering runlevel: 5Configuring network interfaces... udhcpc (v1.22.1) startedSending discover...Sending discover...Sending discover...No lease, failingStarting system message bus: dbus.Starting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_keyCould not load host key: /etc/ssh/ssh_host_dsa_keyCould not load host key: /etc/ssh/ssh_host_ecdsa_keyCould not load host key: /etc/ssh/ssh_host_ed25519_keyDisabling protocol version 2. Could not load host keysshd: no hostkeys available -- exiting.Starting rpcbind daemon...rpcbind: cannot create socket for udp6rpcbind: cannot create socket for tcp6done.creating NFS state directory: donestarting statd: doneNFS daemon support not enabled in kernelStarting system log daemon...0Starting kernel log daemon...0Starting Telephony daemonStarting Lighttpd Web Server: lighttpd.atmel_nand 80000000.nand: Bit flip in data area, byte_pos: 1776, bit_pos: 4, 0xb0 -> 0xa0Starting crond: atmel_nand 80000000.nand: Bit flip in data area, byte_pos: 1776, bit_pos: 4, 0xb0 -> 0xa0OKStopping Bootlog daemon: bootlogd.Poky (Yocto Project Reference Distro) 1.6.1 sama5d4-xplained /dev/ttyS0sama5d4-xplained login: Poky (Yocto Project Reference Distro) 1.6.1 sama5d4-xplained /dev/ttyS0sama5d4-xplained login: Poky (Yocto Project Reference Distro) 1.6.1 sama5d4-xplained /dev/ttyS0sama5d4-xplained login: ddPassword: Login incorrectsama5d4-xplained login: Login timed out after 60 seconds.Poky (Yocto Project Reference Distro) 1.6.1 sama5d4-xplained /dev/ttyS0sama5d4-xplained login: rootroot@sama5d4-xplained:~# root@sama5d4-xplained:~# root@sama5d4-xplained:~# root@sama5d4-xplained:~# root@sama5d4-xplained:~# cat /proc/cpuinfoprocessor       : 0model name      : ARMv7 Processor rev 1 (v7l)BogoMIPS        : 262.96Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 CPU implementer : 0x41CPU architecture: 7CPU variant     : 0x0CPU part        : 0xc05CPU revision    : 1Hardware        : Atmel SAMA5 (Device Tree)Revision        : 0000Serial          : 0000000000000000root@sama5d4-xplained:~# 先写到这里。
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /2 下一条

    手机版|小黑屋|与非网

    GMT+8, 2024-4-20 17:41 , Processed in 0.121552 second(s), 18 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.