新手上路
- 积分
- 20
- 金钱
- 20
- 注册时间
- 2023-9-24
- 在线时间
- 3 小时
|
1金钱
配置bootcmd与bootargs后通过boot命令启动显示Starting kernel ...卡死
内核与设备树在mmc或nfs中均不行
但是通过uboot的倒计时结束能够正常启动进入Linux
- U-Boot 2016.03 (Oct 16 2023 - 23:48:30 +0800)
- CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
- CPU: Industrial temperature grade (-40C to 105C) at 48C
- Reset cause: POR
- Board MX6ULL ALIENTEK ALPHA EMMC
- I2C: ready
- DRAM: 512 MiB
- MMC: FSL_SDHC: 0, FSL_SDHC: 1
- Display: TFT7016 (1024x600)
- Video: 1024x600x24
- In: serial
- Out: serial
- Err: serial
- switch to partitions #0, OK
- mmc0 is current device
- Net: FEC1
- Normal Boot
- Hit any key to stop autoboot: 0
- Using FEC1 device
- TFTP from server 192.168.3.165; our IP address is 192.168.3.166
- Filename './nfs/imx6ull_alientek_zImage'.
- Load address: 0x80800000
- Loading: #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- ####################################################
- 1.4 MiB/s
- done
- Bytes transferred = 5533608 (546fa8 hex)
- Using FEC1 device
- TFTP from server 192.168.3.165; our IP address is 192.168.3.166
- Filename './nfs/imx6ull-alientek-emmc.dtb'.
- Load address: 0x83000000
- Loading: ###
- 458 KiB/s
- done
- Bytes transferred = 37590 (92d6 hex)
- Kernel image [url=home.php?mod=space&uid=95564]@[/url] 0x80800000 [ 0x000000 - 0x546fa8 ]
- ## Flattened Device Tree blob at 83000000
- Booting using the fdt blob at 0x83000000
- Using Device Tree in place at 83000000, end 8300c2d5
- Starting kernel ...
- Booting Linux on physical CPU 0x0
- Linux version 4.1.15 (sentaku@ubuntu) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12) ) #1 SMP PREEMPT Sun Sep 24 22:28:57 CST 2023
- CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
- CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
- Machine model: Freescale i.MX6 ULL 14x14 EVK Board
- Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
- Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
- Memory policy: Data cache writealloc
- PERCPU: Embedded 12 pages/cpu @8bb31000 s16716 r8192 d24244 u49152
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
- Kernel command line: console=tty1 console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.3.165:/home/sentaku/Desktop/IMX6ULL/nfs/rootfs,proto=tcp rw ip=192.168.3.166:192.168.3.165:192.168.3.1:255.255.255.0::eth0:off
复制代码
|
最佳答案
查看完整内容[请看2#楼]
> 修改arch/arm/lib/cache-cp15.c的dcache_disable函数
> 在下面的代码中增加刷新缓冲区代码
```C
void dcache_disable(void)
{
cache_disable(CR_C);
}
```
修改为
```C
void dcache_disable(void)
{
cache_disable(CR_C);
printf("\n");
}
```
> 再次并不确定为什么需要将缓冲区进行刷新操作,前面的代码中并没有字符输出操作
> 不过也可能是哪儿占用了堆栈,需要进行刷新
> 并且在之前测试的过 ...
|