页次: 1
我的板子触摸芯片是NS2009,写好了touch驱动,触摸也有数据,但是屏幕就是不动
lvgl_rtt_send_input_event x = 2107, y = 1101, event = 0x80
lvgl_rtt_send_input_event x = 2093, y = 1266, event = 0x02
lvgl_rtt_send_input_event x = 4095, y = 3711, event = 0x80
lvgl_rtt_send_input_event x = 2035, y = 3702, event = 0x02
lvgl_rtt_send_input_event x = 2035, y = 3702, event = 0x80
lvgl_rtt_send_input_event x = 2138, y = 1552, event = 0x02
lvgl_rtt_send_input_event x = 4095, y = 3836, event = 0x80
lvgl_rtt_send_input_event x = 2152, y = 1803, event = 0x02
lvgl_rtt_send_input_event x = 2104, y = 2025, event = 0x80
lvgl_rtt_send_input_event x = 4095, y = 3765, event = 0x02
lvgl_rtt_send_input_event x = 4095, y = 3765, event = 0x80
请问楼主,我使用SPI FLASH方式启动,跳转后无反应,串口输出:
Init OK
Boot to SPI mode
Copy Flash offset 64 to RAM 0x8000000 size:366124
Copy Flash Ok!
Goto 0x80000000 ...如果直接FEL模式启动时是正常的。我使用spiflash-read读出代码的前面1K字节,对比了下是完全一样的。
请问你遇到过这个坑吗?
我也遇到同样问题
Init OK
Boot to SPI mode
Copy Flash offset 64 to RAM 0x8000000 size:366156
Copy Flash Ok!
Goto 0x80000000 ...
flash 型号 xt25f128b
把RT_SFUD_SPI_MAX_HZ 改为33M还是启动不了...
遇到同样问题,之前还好好的。make clean也不行
./stage1flex -o stage1scan.c ./scan.l
Makefile:1696: recipe for target 'stage1scan.c' failed
make[3]: *** [stage1scan.c] Segmentation fault (core dumped)
make[3]: Leaving directory '/root/linux/lichee/buildroot-2017.08/output/build/host-flex-2.6.4/src'
Makefile:546: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/root/linux/lichee/buildroot-2017.08/output/build/host-flex-2.6.4/src'
Makefile:532: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/linux/lichee/buildroot-2017.08/output/build/host-flex-2.6.4'
package/pkg-generic.mk:227: recipe for target '/root/linux/lichee/buildroot-2017.08/output/build/host-flex-2.6.4/.stamp_built' failed
make: *** [/root/linux/lichee/buildroot-2017.08/output/build/host-flex-2.6.4/.stamp_built] Error 2
gcc 版本:gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
rootfs_new/etc/preinit 脚本需要添加执行权限,不然启动会Kernel panic
[ 1.227756] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.239415] devtmpfs: mounted
[ 1.246976] Freeing unused kernel memory: 1024K
[ 1.251824] Kernel panic - not syncing: Requested init /etc/preinit failed (error -13).
[ 1.259832] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-licheepi-nano #14
[ 1.267207] Hardware name: Allwinner suniv Family
[ 1.271990] [<c010e550>] (unwind_backtrace) from [<c010b6a8>] (show_stack+0x10/0x14)
[ 1.279746] [<c010b6a8>] (show_stack) from [<c0116878>] (panic+0xb8/0x230)
[ 1.286645] [<c0116878>] (panic) from [<c0672134>] (kernel_init+0x8c/0x10c)
[ 1.293621] [<c0672134>] (kernel_init) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[ 1.301185] Rebooting in 5 seconds..
[ 7.280418] Reboot failed -- System halted
chmod +x rootfs_new/etc/preinit
U-Boot 2018.01-05679-g013ca457fd-dirty (Mar 25 2020 - 16:14:47 +0800) Allwinner Technology
Starting kernel ...
卡在start kernel 这里会是什么问题导致的?
和你一样,请问有解决吗?
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected xt25f128b with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 816fb000, end 816ff2c8 ... OK
Starting kernel ...
_ _
_ _ | |___ _____ _____ _| |_
\ \/ /| _ | _ | _ |_ _| (C) 2007-2020
) ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (Jul 25 2020 - 10:26:47) - [sast-kk131][SAST KK131 Digital Player Based On Allwinner F1C100S]
不管在DRAM运行还是烧写到flash里,都卡在这里
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ sunxi-fel -l
USB device 020:010 Allwinner F1C100s
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ sunxi-fel ver
AWUSBFEX soc=00001663(F1C100s) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ sunxi-fel spl xboot.bin
SPL: checksum check failed
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ sunxi-fel -p write 0x80000000 xboot.bin
100% [================================================] 4298 kB, 197.8 kB/s
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ sunxi-fel exec 0x80000000;
~/Desktop/linux/lichee/xboot/output (master ✘)✹ ᐅ
串口无响应,校验错误为什么呢?
页次: 1