【第1期】你选开发板,二姨家买单+MangoPi-R3 开箱加试用

[复制链接]
10286|0
 楼主| wuxiubo 发表于 2022-3-8 23:18 | 显示全部楼层 |阅读模式
MangoPi-R3 开箱加试用
本次感谢21IC弄的自选开发板评测活动,目前板子已经到手了,我选择的是MangoPi-R3开发板,其是搭载了全志的F1C200s芯片。
图片1.png
先给大家看下其内部资源,其采用ARM926ejs内核,我手上的是内置了64MB的DDR1内存。可以用来跑Linux,裸机也是可以的。可以说目前资料还是非常丰富的。
还是先看下板子吧!
图片2.png
正面就是我们的芯片,两个USB口一个是USB转TLL口,用来调试用,一个口是OTG用来烧写板载NAND Flash的。正面还预留了一个摄像头接口和一个40Pin的RGB显示屏接口。
图片3.png
背面是NAND芯片,加上电容屏接口,正面的40Pin里面包含了一个电阻屏接口,可以看出这个小板子还是预留了很多东西的。
刚拿到这个板子的时候发现没有程序,所以我们需要先烧写下程序。
烧写程序我们需要通过我们OTG的USB口,我们需要把OTG口的驱动弄好,需要两个驱动。
图片4.png
就是这两个,里面内容都是按照里面输入即可。接下来就是不断的重启烧录。如下图:
图片5.png
烧写完成,我们可以复位,打开串口终端,这时候就有信息出来了如下:


  1. U-Boot SPL 2020.07 (Feb 16 2022 - 01:43:17 +0000)

  2. DRAM: 64 MiB

  3. Trying to boot from MMC1

  4. Card did not respond to voltage select!

  5. spl: mmc init failed with error: -95

  6. Trying to boot from MMC2

  7. Card did not respond to voltage select!

  8. spl: mmc init failed with error: -95

  9. Trying to boot from sunxi SPI

  10. SPI-NAND: GigaDevice GD5F1GQ5UEYIG

  11. SPI-NAND: U-Boot address: 53248





  12. U-Boot 2020.07 (Feb 16 2022 - 01:43:17 +0000) Allwinner Technology



  13. CPU:   Allwinner F Series (SUNIV)

  14. Model: Allwinner F1C100s Generic Device

  15. DRAM:  64 MiB

  16. MMC:   mmc@1c0f000: 0, mmc@1c10000: 1

  17. Setting up a 800x480 lcd console (overscan 0x0)

  18. In:    serial

  19. Out:   vga

  20. Err:   vga

  21. Allwinner mUSB OTG (Peripheral)

  22. Hit any key to stop autoboot:  0

  23. Card did not respond to voltage select!

  24. Card did not respond to voltage select!

  25. unrecognized JEDEC id bytes: ff, c8, 51

  26. Failed to initialize SPI flash at 0:0 (error -2)

  27. List of MTD devices:

  28. * spi-nand0

  29.   - device: spi-nand@1

  30.   - parent: spi@1c05000

  31.   - driver: spi_nand

  32.   - type: NAND flash

  33.   - block size: 0x20000 bytes

  34.   - min I/O: 0x800 bytes

  35.   - OOB size: 128 bytes

  36.   - OOB available: 4 bytes

  37.   - 0x000000000000-0x000008000000 : "spi-nand0"

  38. =========================

  39. Boot Device: spi

  40. Boot Slot 0: empty

  41. Boot Slot 1: spi-nand

  42. =========================

  43. DFU waiting on SPI-NAND...

  44. musb-hdrc: peripheral reset irq lost!

  45. Booting from SPI-NAND...

  46. Reading 16384 byte(s) (8 page(s)) at offset 0x00080000

  47. Reading 7340032 byte(s) (3584 page(s)) at offset 0x00100000

  48. ## Flattened Device Tree blob at 80700000

  49.    Booting using the fdt blob at 0x80700000

  50.    Loading Device Tree to 816f9000, end 816ff78f ... OK

  51. Cannot setup simplefb: node not found



  52. Starting kernel ...



  53. [    0.000000] Booting Linux on physical CPU 0x0

  54. [    0.000000] Linux version 5.4.66 (wanghui@ubuntu20) (gcc version 8.4.0 (Buildroot 2020.02.4-ga37ac44-dirty)) #1 Wed Feb 16 01:40:16 UTC 2022

  55. [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f

  56. [    0.000000] CPU: VIVT data cache, VIVT instruction cache

  57. [    0.000000] OF: fdt: Machine model: Widora MangoPi R3

  58. [    0.000000] Memory policy: Data cache writeback

  59. [    0.000000] cma: Reserved 16 MiB at 0x83000000

  60. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256

  61. [    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait consoleblank=0 net.ifnames=0 biosdevname=0 root=ubi0 ubi.mtd=3 rootfstype=ubifs cma=16M

  62. [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

  63. [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)

  64. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

  65. [    0.000000] Memory: 37692K/65536K available (7168K kernel code, 256K rwdata, 1812K rodata, 1024K init, 240K bss, 11460K reserved, 16384K cma-reserved)

  66. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

  67. [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16

  68. [    0.000000] random: get_random_bytes called from start_kernel+0x254/0x444 with crng_init=0

  69. [    0.000052] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

  70. [    0.000140] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

  71. [    0.000832] Console: colour dummy device 80x30

  72. [    0.000940] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)

  73. [    0.070267] pid_max: default: 32768 minimum: 301

  74. [    0.070815] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)

  75. [    0.070864] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)

  76. [    0.072689] CPU: Testing write buffer coherency: ok

  77. [    0.074791] Setting up static identity map for 0x80100000 - 0x80100058

  78. [    0.076103] devtmpfs: initialized

  79. [    0.087383] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

  80. [    0.087449] futex hash table entries: 256 (order: -1, 3072 bytes, linear)

  81. [    0.091663] pinctrl core: initialized pinctrl subsystem

  82. [    0.094360] NET: Registered protocol family 16

  83. [    0.098282] DMA: preallocated 256 KiB pool for atomic coherent allocations

  84. [    0.100692] cpuidle: using governor menu

  85. [    0.148715] SCSI subsystem initialized

  86. [    0.149156] usbcore: registered new interface driver usbfs

  87. [    0.149325] usbcore: registered new interface driver hub

  88. [    0.149523] usbcore: registered new device driver usb

  89. [    0.150031] mc: Linux media interface: v0.10

  90. [    0.150160] videodev: Linux video capture interface: v2.00

  91. [    0.150428] pps_core: LinuxPPS API ver. 1 registered

  92. [    0.150453] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

  93. [    0.150526] PTP clock support registered

  94. [    0.151644] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000

  95. [    0.152598] Advanced Linux Sound Architecture Driver Initialized.

  96. [    0.155255] clocksource: Switched to clocksource timer

  97. [    0.186724] thermal_sys: Registered thermal governor 'step_wise'

  98. [    0.187474] NET: Registered protocol family 2

  99. [    0.189110] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)

  100. [    0.189188] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)

  101. [    0.189243] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)

  102. [    0.189296] TCP: Hash tables configured (established 1024 bind 1024)

  103. [    0.189636] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)

  104. [    0.189705] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)

  105. [    0.190255] NET: Registered protocol family 1

  106. [    0.191865] RPC: Registered named UNIX socket transport module.

  107. [    0.191903] RPC: Registered udp transport module.

  108. [    0.191918] RPC: Registered tcp transport module.

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

  110. [    0.194610] NetWinder Floating Point Emulator V0.97 (double precision)

  111. [    0.196704] Initialise system trusted keyrings

  112. [    0.197378] workingset: timestamp_bits=30 max_order=14 bucket_order=0

  113. [    0.219768] squashfs: version 4.0 (2009/01/31) Phillip Lougher

  114. [    0.222531] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.

  115. [    0.333719] Key type asymmetric registered

  116. [    0.333761] Asymmetric key parser 'x509' registered

  117. [    0.333937] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

  118. [    0.333965] io scheduler mq-deadline registered

  119. [    0.333985] io scheduler kyber registered

  120. [    0.348647] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver

  121. [    0.372078] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled

  122. [    0.378281] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator

  123. [    0.379635] printk: console [ttyS0] disabled

  124. [    0.399965] 1c25400.serial: ttyS0 at MMIO 0x1c25400 (irq = 27, base_baud = 6250000) is a 16550A

  125. [    0.853975] printk: console [ttyS0] enabled

  126. [    0.867922] panel-simple panel: panel supply power not found, using dummy regulator

  127. [    0.877685] SCSI Media Changer driver v0.25

  128. [    0.883486] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator

  129. [    0.896723] spi-nand spi0.0: GigaDevice SPI NAND was found.

  130. [    0.902327] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128

  131. [    0.912183] 4 fixed-partitions partitions found on MTD device spi0.0

  132. [    0.918666] Creating 4 MTD partitions on "spi0.0":

  133. [    0.923480] 0x000000000000-0x000000080000 : "u-boot"

  134. [    0.934476] 0x000000080000-0x0000000a0000 : "dtb"

  135. [    0.943698] 0x000000100000-0x000000800000 : "kernel"

  136. [    0.951367] random: fast init done

  137. [    0.983387] 0x000000800000-0x000007800000 : "rom"

  138. [    1.385447] random: crng init done

  139. [    1.428348] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator

  140. [    1.441425] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

  141. [    1.448107] ehci-platform: EHCI generic platform driver

  142. [    1.453714] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

  143. [    1.460062] ohci-platform: OHCI generic platform driver

  144. [    1.465861] usbcore: registered new interface driver usb-storage

  145. [    1.472906] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator

  146. [    1.486670] using random self ethernet address

  147. [    1.491141] using random host ethernet address

  148. [    1.497112] usb0: HOST MAC 56:f8:f8:ef:9a:86

  149. [    1.501513] usb0: MAC 1e:02:c4:88:70:3f

  150. [    1.505583] using random self ethernet address

  151. [    1.510039] using random host ethernet address

  152. [    1.514647] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008

  153. [    1.521361] g_ether gadget: g_ether ready

  154. [    1.525908] i2c /dev entries driver

  155. [    1.533512] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)

  156. [    1.543549] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator

  157. [    1.582114] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB

  158. [    1.591648] usbcore: registered new interface driver usbhid

  159. [    1.597350] usbhid: USB HID core driver

  160. [    1.605654] debugfs: Directory '1c23c00.codec' with parent 'F1C100s Audio Codec' already present!

  161. [    1.620811] sun4i-codec 1c23c00.codec: Codec <-> 1c23c00.codec mapping ok

  162. [    1.637194] NET: Registered protocol family 17

  163. [    1.641749] Key type dns_resolver registered

  164. [    1.647585] Loading compiled-in X.509 certificates

  165. [    1.673613] ubi0: attaching mtd3

  166. [    1.779526] g_ether gadget: high-speed config #2: RNDIS

  167. [    3.230273] ubi0: scanning is finished

  168. [    3.260866] ubi0: attached mtd3 (name "rom", size 112 MiB)

  169. [    3.266485] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes

  170. [    3.273350] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048

  171. [    3.280184] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096

  172. [    3.287168] ubi0: good PEBs: 896, bad PEBs: 0, corrupted PEBs: 0

  173. [    3.293162] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128

  174. [    3.300403] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1518200548

  175. [    3.309543] ubi0: available PEBs: 0, total reserved PEBs: 896, PEBs reserved for bad PEB handling: 40

  176. [    3.319414] cfg80211: Loading compiled-in X.509 certificates for regulatory database

  177. [    3.327606] ubi0: background thread "ubi_bgt0d" started, PID 61

  178. [    3.343180] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

  179. [    3.350055] ALSA device list:

  180. [    3.353041]   #0: F1C100s Audio Codec

  181. [    3.357277] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

  182. [    3.365981] cfg80211: failed to load regulatory.db

  183. [    3.373691] UBIFS (ubi0:0): Mounting in unauthenticated mode

  184. [    3.480878] UBIFS (ubi0:0): recovery needed

  185. [    3.574083] UBIFS (ubi0:0): recovery deferred

  186. [    3.578785] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode

  187. [    3.587122] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes

  188. [    3.597066] UBIFS (ubi0:0): FS size: 106786816 bytes (101 MiB, 841 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)

  189. [    3.607679] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)

  190. [    3.613513] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID C4B0D0F7-7304-495D-827F-42879C90E3A9, small LPT model

  191. [    3.631465] VFS: Mounted root (ubifs filesystem) readonly on device 0:15.

  192. [    3.644842] devtmpfs: mounted

  193. [    3.652410] Freeing unused kernel memory: 1024K

  194. [    3.657118] Run /sbin/init as init process

  195. [    4.246316] UBIFS (ubi0:0): completing deferred recovery

  196. [    4.324286] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 68

  197. [    4.496053] UBIFS (ubi0:0): deferred recovery completed

  198. Mounting OverlayFS: Skip

  199. Starting syslogd: OK

  200. Starting klogd: OK

  201. Running sysctl: OK

  202. Populating /dev using udev: [    5.528793] udevd[97]: starting version 3.2.9

  203. [    5.801997] udevd[98]: starting eudev-3.2.9

  204. done

  205. Saving random seed: OK

  206. Starting network: OK

  207. ssh-keygen: generating new host keys: RSA

  208. [   33.765330] vcc3v0: disabling

  209. [   33.768335] vcc3v3: disabling

  210. [   33.771304] vcc5v0: disabling



  211. DSA ECDSA ED25519

  212. Starting sshd: OK

  213. Starting DHCP server: OK

  214. Creating MySQL system tables...

  215. Installing MySQL system tables...

  216. OK

  217. Filling help tables...

  218. OK



  219. To start mysqld at boot time you have to copy

  220. support-files/mysql.server to the right place for your system



  221. PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

  222. To do so, start the server, then issue the following commands:



  223. /usr/bin/mysqladmin -u root password 'new-password'

  224. /usr/bin/mysqladmin -u root -h mangopi-r3 password 'new-password'



  225. Alternatively you can run:

  226. /usr/bin/mysql_secure_installation



  227. which will also give you the option of removing the test

  228. databases and anonymous user created by default.  This is

  229. strongly recommended for production servers.



  230. See the manual for more instructions.



  231. You can start the MySQL daemon with:

  232. cd /usr ; /usr/bin/mysqld_safe &



  233. You can test the MySQL daemon with mysql-test-run.pl

  234. cd /usr/mysql-test ; perl mysql-test-run.pl



  235. Please report any problems with the /usr/bin/mysqlbug script!



  236. Starting mysql...done.



  237. Welcome to Widora MangoPi R3

  238. mangopi-r3 login: 700101 00:01:25 mysqld_safe Logging to '/var/mysql/mangopi-r3.err'.

  239. 700101 00:01:26 mysqld_safe Starting mysqld daemon with databases from /var/mysql



  240. Welcome to Widora MangoPi R3

  241. mangopi-r3 login:


这个是启动终端的信息,除了串口可以连接之外我们还可以通过USB OTG口虚拟一个以太网络出来,用于SSH连接测试。
图片6.png
这里需要把这个驱动安装上。
图片7.png
之后通过SSH就能进入终端了,也可以看到文件夹。
图片8.png
这是打印的内核CPU信息,本次开箱先这样,后续我们接着分享。

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

本版积分规则

67

主题

259

帖子

2

粉丝
快速回复 在线客服 返回列表 返回顶部