stm32运行linux,新出的STM32F750成功运行Linux
本帖最后由 ICZOOM 于 2018-12-20 15:28 编辑
前段时间ST推出了Value Line的STM32F750和H750两个系列,看了一下选型表,F750有LQFP144封装,正好适合我的STM32 linux板子。
于是,双十一买了几片。同时,我对我的linux板做了小幅改版:将SPI Flash容量扩大到32MB并连接到F750的QSPI BANK1,添加了CAN收发器和接口,增加了两个I2C外设(温湿度传感器和气压传感器)。板子做回来后先焊了一片,调试过程还算比较顺利,现在u-boot和Linux都工作起来了,下面是系统启动log,F750速度还是相当快的(427.62 BogoMIPS,F429跑Linux只有35.84 BogoMIPS),QSPI的加载速度也很给力。下一步我准备多测试几种STM32外设的Linux driver,emcraft现在的SDK比两三年前多了不少外设驱动,可以都试试看。
U-Boot 2010.03 (Nov 26 2018 - 21:30:21)
CPU : STM32F7 (Cortex-M7)
Freqs: SYSCLK=216MHz,HCLK=216MHz,PCLK1=54MHz,PCLK2=108MHz
Board: STM32F750 Rev 1.0
DRAM: 64 MB
In: serial
Out: serial
Err: serial
QSPI: 32 MB mapped at 0x90000000
Net: miiphy_register done.
eth hw init done.
STM32_MAC
Hit any key to stop autoboot: 0
Booting from QSPI
## Booting kernel from Legacy Image at c0007fc0 ...
Image Name: Linux-4.2.0
Image Type: ARM Linux Multi-File Image (uncompressed)
Data Size: 7496295 Bytes = 7.1 MB
Load Address: c0008000
Entry Point: c0008001
Contents:
Image 0: 7471388 Bytes = 7.1 MB
Image 1: 24895 Bytes = 24.3 kB
Verifying Checksum ... OK
## Flattened Device Tree from multi component Image at C0007FC0
Booting using the fdt at 0xc0728128
Loading Multi-File Image ... OK
OK
WARNING: legacy format multi component image overwritten
Loading Device Tree to c3ff6000, end c3fff13e ... OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.2.0 (gcc version 4.4.1 (Sourcery G++ Lite 2010
q1-189) ) #90 Tue Dec 4 03:32:33 EST 2018
CPU: ARMv7-M [410fc271] revision 1 (ARMv7M), cr=00000000
CPU: WBA data cache, WBA instruction cache
Machine model: EmCraft Systems STM32F7-SOM board
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: stm32_platform=stm32f7-disco console=ttyS0,115200 panic=10 ip=169.25
4.1.10:169.254.1.2:::stm32f7-disco:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 56432K/65536K available (2523K kernel code, 181K rwdata, 588K rodata, 4000K init,
111K bss, 9104K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0x00000000 - 0x00001000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0x00000000 - 0xffffffff (4095 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
.text : 0xc0008000 - 0xc0312000 (3112 kB)
.init : 0xc0312000 - 0xc06fa000 (4000 kB)
.data : 0xc06fa000 - 0xc07277c0 ( 182 kB)
.bss : 0xc072811c - 0xc0743e84 ( 112 kB)
NR_IRQS:16 nr_irqs:16 16
/interrupt-controller@40013c00: 24 External IRQs detected
clocksource: arm_system_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 27651335
8 ns
ARM System timer initialized as clocksource
/soc/timer@40000000: STM32 clockevent driver initialized (32 bits)
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Calibrating delay loop... 427.62 BogoMIPS (lpj=2138112)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275
0000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
stm32-pinctrl pin-controller: nbanks = 11
stm32-pinctrl pin-controller: nfunctions = 20
stm32-pinctrl pin-controller: ngroups = 23
stm32-pinctrl pin-controller: GPIOA bank added.
stm32-pinctrl pin-controller: GPIOB bank added.
stm32-pinctrl pin-controller: GPIOC bank added.
stm32-pinctrl pin-controller: GPIOD bank added.
stm32-pinctrl pin-controller: GPIOE bank added.
stm32-pinctrl pin-controller: GPIOF bank added.
stm32-pinctrl pin-controller: GPIOG bank added.
stm32-pinctrl pin-controller: GPIOH bank added.
stm32-pinctrl pin-controller: GPIOI bank added.
stm32-pinctrl pin-controller: GPIOJ bank added.
stm32-pinctrl pin-controller: GPIOK bank added.
stm32-pinctrl pin-controller: Function[0 name:i2c_1, groups:1]
stm32-pinctrl pin-controller: Function[1 name:i2c_2, groups:1]
stm32-pinctrl pin-controller: Function[2 name:i2c_3, groups:1]
stm32-pinctrl pin-controller: Function[3 name:mac, groups:2]
stm32-pinctrl pin-controller: Function[4 name:sdio, groups:1]
stm32-pinctrl pin-controller: Function[5 name:spi_2, groups:1]
stm32-pinctrl pin-controller: Function[6 name:spi_4, groups:1]
stm32-pinctrl pin-controller: Function[7 name:spi_5, groups:1]
stm32-pinctrl pin-controller: Function[8 name:usart1, groups:1]
stm32-pinctrl pin-controller: Function[9 name:usart6, groups:1]
stm32-pinctrl pin-controller: Function[10 name:usart7, groups:1]
stm32-pinctrl pin-controller: Function[11 name:usb_fs, groups:1]
stm32-pinctrl pin-controller: Function[12 name:usb_hs, groups:1]
stm32-pinctrl pin-controller: Function[13 name:can_1, groups:1]
stm32-pinctrl pin-controller: Function[14 name:adc1_in0_pin, groups:1]
stm32-pinctrl pin-controller: Function[15 name:dac_out2_pin, groups:1]
stm32-pinctrl pin-controller: Function[16 name:ltdc, groups:1]
stm32-pinctrl pin-controller: Function[17 name:sai_2, groups:1]
stm32-pinctrl pin-controller: Function[18 name:i2c_4, groups:1]
stm32-pinctrl pin-controller: Function[19 name:gpio, groups:3]
stm32-dma 40026000.dma: STM32 DMA driver registered
stm32-dma 40026400.dma: STM32 DMA driver registered
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
soc:phy_hs supply vcc not found, using dummy regulator
soc:phy_fs supply vcc not found, using dummy regulator
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.20
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arm_system_timer
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Power Management for STM32
futex hash table entries: 16 (order: -5, 192 bytes)
jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler noop registered
io scheduler cfq registered (default)
stm32-pinctrl pin-controller: maps: function gpio group pwms num 2
stm32-pwm pwm0: basing on TIM3.1(x16)
stm32-pinctrl pin-controller: maps: function ltdc group ltdc-0 num 29
stm32_lcdfb 40016800.ltdc: fb0: fb device registered successfully
STM32 USART driver initialized
stm32-pinctrl pin-controller: maps: function usart1 group usart1-0 num 3
40011000.serial: ttyS0 at MMIO 0x40011000 (irq = 34, base_baud = 6750000) is a stm32-usar
t
console [ttyS0] enabled
stm32-pinctrl pin-controller: maps: function usart6 group usart6-0 num 3
40011400.serial: ttyS5 at MMIO 0x40011400 (irq = 35, base_baud = 6750000) is a stm32-usar
t
nbd: registered device at major 43
stm32-pinctrl pin-controller: maps: function dac_out2_pin group dac-0 num 2
stm32_dac 40007400.dac: dac1: no timer assigned, DMA functionality is not available
stm32_dac 40007400.dac: created 1 character devices with MAJOR 248
2 ofpart partitions found on MTD device physmap-stm-flash.0
Creating 2 MTD partitions on "physmap-stm-flash.0":
0x000000000000-0x000000020000 : "stm_flash_uboot"
0x000000040000-0x000000100000 : "stm_flash_unused"
stm32-pinctrl pin-controller: maps: function spi_5 group spi_5-0 num 4
stm32-spi 40015000.spi: SPI Controller 4 at 40015000,irq=38,hz=108000000
CAN device driver interface
stm32-pinctrl pin-controller: maps: function can_1 group can_1-0 num 3
stm32-can 40006400.can: device registered (reg=40006400, irq=31)
stm32-pinctrl pin-controller: maps: function mac group mac_rmii num 10
stmmac - user ID: 0x10, Synopsys ID: 0x35
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
TX Checksum insertion supported
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
stm32-dwmac 40028000.ethernet eth0: No MDIO subnode found
libphy: stmmac: probed
eth0: PHY ID 0007c0f1 at 0 IRQ POLL (stmmac-0:00) active
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
usbcore: registered new interface driver rt2800usb
stm32-pinctrl pin-controller: maps: function usb_hs group usb_hs-0 num 3
dwc2 40040000.usb: DWC OTG Controller
dwc2 40040000.usb: new USB bus registered, assigned bus number 1
dwc2 40040000.usb: irq 56, io mem 0x00000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 4.2.0 dwc2_hsotg
usb usb1: SerialNumber: 40040000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
stm32-pinctrl pin-controller: maps: function usb_fs group usb_fs-0 num 3
50000000.usb supply vusb_d not found, using dummy regulator
50000000.usb supply vusb_a not found, using dummy regulator
dwc2 50000000.usb: EPs: 6, dedicated fifos, 512 entries in SPRAM
dwc2 50000000.usb: DCFG=0x08200000, DCTL=0x00000002, DIEPMSK=0000000b
dwc2 50000000.usb: GAHBCFG=0x00000000, GHWCFG1=0x00000000
dwc2 50000000.usb: GRXFSIZ=0x000000a0, GNPTXFSIZ=0x004000a0
dwc2 50000000.usb: DPTx[1] FSize=32, StAddr=0x000000e0
dwc2 50000000.usb: DPTx[2] FSize=64, StAddr=0x00000100
dwc2 50000000.usb: DPTx[3] FSize=512, StAddr=0x00000800
dwc2 50000000.usb: DPTx[4] FSize=512, StAddr=0x00000a00
dwc2 50000000.usb: DPTx[5] FSize=512, StAddr=0x00000c00
dwc2 50000000.usb: ep0-in: EPCTL=0x00008000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep0-out: EPCTL=0x00008000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep1-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep1-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep2-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep2-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep3-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep3-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep4-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep4-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep5-in: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: ep5-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x5abee5fb
dwc2 50000000.usb: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
dwc2 50000000.usb: bound driver g_serial
i2c /dev entries driver
stm32-pinctrl pin-controller: maps: function i2c_4 group i2c_4-0 num 3
bmp085 3-0077: Successfully initialized bmp085!
stm32f7-i2c 40006000.i2c: I2C Controller i2c-3 at 40006000,irq=58
Driver for 1-wire Dallas network protocol.
usbcore: registered new interface driver btusb
stm32-pinctrl pin-controller: maps: function sdio group sdio-0 num 7
mmci-pl18x 40012c00.sdi: Got CD GPIO
mmci-pl18x 40012c00.sdi: mmc0: PL180 manf 80 rev4 at 0x40012c00 irq 37,0 (pio)
stm32-dma 40026400.dma: stm32_dma_of_xlate: unable to get channel 3 - was already request
ed
mmci-pl18x 40012c00.sdi: DMA channels RX dma1chan3, TX dma1chan3
stm32_gpio_to_irq: Event line 3 now points to fire interrupts from bank G
stm32-pinctrl pin-controller: maps: function gpio group outs num 2
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
stm32-pinctrl pin-controller: maps: function adc1_in0_pin group adc1-0 num 2
stm32f4-adc 40012000.adc: registered
stm32-pinctrl pin-controller: maps: function sai_2 group sai_2-0 num 5
stm32-dma 40026400.dma: stm32_dma_of_xlate: unable to get channel 4 - was already request
ed
stm32-asoc-card sound: failed to find codec platform device
stm32-asoc-card: probe of sound failed with error -22
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
hctosys: unable to open rtc device (rtc0)
vmmc: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 4000K (c0312000 - c06fa000)
init started: BusyBox v1.24.2 (2018-11-22 20:35:58 EST)
/ # amixer: Mixer attach default error: No such file or directory
stm32-dwmac 40028000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
/ # free
total used free shared buffers cached
Mem: 60432 8140 52292 0 0 4792
-/+ buffers/cache: 3348 57084
/ #
stm32运行linux,新出的STM32F750成功运行Linux相关推荐
- Linux下运行第一个Java程序成功(Linux下JDK安装和环境变量配置等)
要从本机拷贝一个jdk的linux安装包到虚拟机,看一下虚拟机上系统的IP: 此系统没有预先安装openJDK: 新建一个java目录,用于安装:需要切到root用户: 创建java目录: 使用工具连 ...
- 如何在 Linux 终端中一次运行多个 Linux 命令(初学者教程)
文章目录 1.使用 ; 在一行中运行多个 Linux 命令 2.使用 && 运行多个 Linux 命令 3.使用 || 一次运行多个 Linux 命令 三个命令对比: 4.结合 &am ...
- 海康威视(HIKVISION) JAVA SDK Demo成功运行
海康威视(HIKVISION) JAVA SDK Demo成功运行 引子 下载 说明 代码编译 添加文件 问题 排查 总结 引子 调海康的JAVA SDK花费时间较长,所以记录下,为其他小伙伴填填坑, ...
- 中科院开源 RISC-V 处理器“香山”流片,已成功运行 Linux
去年 6 月份,中科院大学教授.中科院计算所研究员包云岗,发布了开源高性能 RISC-V 处理器核心 -- 香山. 近日,包云岗在社交平台晒出图片,香山芯片已流片,回片后进行了串口调通,1 月 24 ...
- iphone7运行linux,iPhone 7成新一代刷机神机!继安卓后,又成功运行Linux
iPhone 7成新一代刷机神机!继安卓后,又成功运行Linux 2020年04月27日 14:32作者:NJNR205编辑:陈惺惺文章出处:泡泡网原创 分享 4月27日消息,据外媒报道,继前段时间i ...
- linux环境下运行flex,给力搜linux-linux成功搭建flash(flex)编译环境
给力搜linux-linux成功搭建flash(flex)编译环境 1 下载linux flex sdk 在http://opensource.adobe.com/下载flex sdk. 2 在lin ...
- 【OS】Linux命令如何放到后台运行
[OS]Linux命令如何放到后台运行 linux命令后台运行 有两种方式: 1. command & : 后台运行,你关掉终端会停止运行 2. nohup command &a ...
- linux监听端口无响应,linux – tomcat运行,但是8080端口没有响应
我已经通过ssh在 linux x64机器上安装了sun jdk 1.6 x64和tomcat,我没有root权限,所以我安装在我的家庭目录中. 我设法成功运行tomcat,但如果我尝试输入mydom ...
- linux打开python3_号外:RIDE 可以在 linux+python3 的环境中运行啦!
号外:RIDE 可以在 linux+python3 的环境中运行啦! RIDE1.7.4.1 版本,是一个 python 自动化测试中一个跨越式版本更新. RIDE 是什么 **RIDE 是什么?它是 ...
最新文章
- 动图演示:手撸堆栈的两种实现方法!
- java各种包的用途
- 输出一个文件的最后n行数据,如果文件总行数不足n行,则显示全部数据
- 推荐算法是今日头条的核心竞争力吗?
- NodeJs连接Oracle数据库
- Python_pandas 两种主要的数据类型(Series、DataFrame)
- ASP.NET连接ACCESS数据库web.config内路径最优写法
- System verilog利用class类打印信息
- 奇异值与主成分分析(PCA)
- 一张图学会python3语法-一张图片在Python操作下的4种玩法(附源码)
- 自定义rest api的基本思想过程--总结
- 照片审核处理工具_不需要Photoshop,这5款在线处理图片工具能帮你好好处理照片!...
- 抢红包案例分析以及代码实现
- 本地通过secureCRT连接虚拟机中CentOS7
- UEFI开发探索101 – PCD探究
- 【SIFT算法】极值检测关键点精确定位
- 计算机视觉论文-2021-06-08
- mysql的首字母大写_修改MySQL字段为首字母大写
- labview简易计算机实验报告,LabView实验报告
- 2018/09/29Web前端学习第五课
热门文章
- FBEC2021暨第六届金陀螺奖颁奖典礼盛大开幕
- 库克“一语成谶”:又有 30 万台安卓设备被“感染”了!| 文末福利
- 运维质变育新机,华为云能否引领政企运维破局?
- 什么? 搞不定redis分布式锁?
- vue里面is_vue中的is
- 12v小型电机型号大全_电动机型号参数大全,再也不怕看不懂电机型号了
- Mysql 启动报错解析:Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/dat
- SpringBoot2 集成 xxl-job任务调度中心
- 使用idea创建JavaWeb项目
- Sonarqube 中文插件专栏