RT1052跑u-boot和linux 6.1.15成功
u-boot、内核、设备树和rootfs文件在以下压缩包中U-Boot 2023.04-rc2-g9559ffdd-dirty (Mar 07 2023 - 03:14:47 -0800)
Model: NXP IMXRT1050-evk board
DRAM:32 MiB
Core:79 devices, 18 uclasses, devicetree: separate
MMC: FSL_SDHC: 0
Loading Environment from FAT... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@402d8000
Hit any key to stop autoboot:0
Using ethernet@402d8000 device
TFTP from server 192.168.1.188; our IP address is 192.168.1.199
Filename 'zImage'.
Load address: 0x80200000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################################################
772.5 KiB/s
done
Bytes transferred = 1974744 (1e21d8 hex)
Using ethernet@402d8000 device
TFTP from server 192.168.1.188; our IP address is 192.168.1.199
Filename 'imxrt1050-evk.dtb'.
Load address: 0x80100000
Loading: #
522.5 KiB/s
done
Bytes transferred = 4287 (10bf hex)
Kernel image @ 0x80200000 [ 0x000000 - 0x1e21d8 ]
## Flattened Device Tree blob at 80100000
Booting using the fdt blob at 0x80100000
Working FDT set to 80100000
Loading Device Tree to 81e42000, end 81e460be ... OK
Working FDT set to 81e42000
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 6.1.15+ (arci@ubuntu) (arm-buildroot-uclinux-uclibcgnueabi-gcc.br_real (Buildroot 2022.11.1) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 Tue Mar7 04:10:10 PST 2023
CPU: ARMv7-M revision 1 (ARMv7M), cr=00000000
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
OF: fdt: Machine model: NXP IMXRT1050-evk board
earlycon: lpuart32 at MMIO32 0x40184000 (options '')
printk: bootconsole enabled
Zone ranges:
Normal
Movable zone start for each node
Early memory node ranges
node 0:
Initmem setup node 0
Built 1 zonelists, mobility grouping on.Total pages: 8128
Kernel command line: earlycon clk_ignore_unused console=ttyLP0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 28752K/32768K available (2163K kernel code, 504K rwdata, 600K rodata, 76K init, 224K bss, 4016K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 0 and lim to 1.
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
imxrt1050-pinctrl 401f8000.pinctrl: initialized IMX pinctrl driver
clocksource: Switched to clocksource mxc_timer1
workingset: timestamp_bits=30 max_order=13 bucket_order=0
io scheduler mq-deadline registered
io scheduler kyber registered
Division by zero in kernel.
CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.15+ #1
Hardware name: IMXRT (Device Tree Support)
unwind_backtrace from show_stack+0xb/0xc
show_stack from dump_stack_lvl+0x19/0x1e
dump_stack_lvl from Ldiv0_64+0x9/0x1a
Ldiv0_64 from clk_pfd_recalc_rate+0x23/0x28
clk_pfd_recalc_rate from __clk_register+0x1df/0x554
__clk_register from clk_hw_register+0x11/0x38
clk_hw_register from imx_clk_hw_pfd+0x53/0x8c
imx_clk_hw_pfd from imxrt1050_clocks_probe+0x38b/0x9c0
imxrt1050_clocks_probe from platform_probe+0x37/0x78
platform_probe from really_probe+0x7b/0x1c4
really_probe from __driver_probe_device+0x4d/0x90
__driver_probe_device from driver_probe_device+0x2b/0xd0
driver_probe_device from __driver_attach+0x7b/0x104
__driver_attach from bus_for_each_dev+0x39/0x6c
bus_for_each_dev from bus_add_driver+0xcf/0x13c
bus_add_driver from driver_register+0x3f/0xa4
driver_register from do_one_initcall+0x47/0x160
do_one_initcall from kernel_init_freeable+0x109/0x178
kernel_init_freeable from kernel_init+0xd/0xb4
kernel_init from ret_from_fork+0x11/0x24
Exception stack(0x80423fb0 to 0x80423ff8)
3fa0: 00000000 00000000 00000000 00000000
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 00000000 00000000 00000000
printk: console enabled0x40184010 (irq = 187, base_baud = 5000000) is a FSL_LPUART
printk: console enabled
printk: bootconsole disabled
printk: bootconsole disabled
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 402c0000.mmc: Got CD GPIO
mmc0 bounce up to 128 segments into one, max segment size 65536 bytes
clk: Not disabling unused clocks
mmc0: SDHCI controller on 402c0000.mmc using DMA
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 NCard 29.1 GiB
mmcblk0: p1 p2
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 76K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: sh: can't execute 'umask': No such file or directory
sh: can't execute 'umask': No such file or directory
random: crng init done
sh: can't execute 'umask': No such file or directory
OK
Starting network: ip: socket: Function not implemented
ip: socket: Function not implemented
FAIL
Welcome to Buildroot
buildroot login: root
Jan1 00:00:10 login: root login on 'console'
sh: can't execute 'export': No such file or directory
sh: can't execute 'export': No such file or directory
sh: can't execute 'umask': No such file or directory
sh: can't execute 'unset': No such file or directory
~ # ls
~ # ls /
bin lib lost+foundopt run tmp
dev lib32 media proc sbin usr
etc linuxrc mnt root sys var 别玩了,单片机跑linux,没看过一个做产品的。要跑linux,就用ARM吧,全志的也便宜。
rt1052我是用freertos,做了好几个产品了。 确实,没有MMU隔离进程空间,可靠度差太多了 honami520 发表于 2023-3-7 23:30
别玩了,单片机跑linux,没看过一个做产品的。要跑linux,就用ARM吧,全志的也便宜。
rt1052我是用freertos ...
(引用自2楼)
请问是拿它来做HMI有关的产品吗? Rabbitoose 发表于 2023-3-7 23:58
请问是拿它来做HMI有关的产品吗?
(引用自4楼)
有用GUI,不过并不是做HMI,做的是一款数据采集的设备 现在全志 瑞芯微芯片比st的部分单片机都便宜,跑linux和安卓都是体力活了,已经没有啥门槛 全志的资料和支持实在不跟不上啊。瑞芯微有类似全志的f1c100s这样的吗?
页:
[1]