完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
本帖最后由 一只耳朵怪 于 2018-6-20 16:03 编辑
kernel: linux-3.14.43 platform:AM437X 问题:用uboot的 tftp命令下载kernel,启动后无打印信息 tftp操作步骤: step1: tftp 0x82000000 uImage step2: tftp 0x83000000 am437x-gp-easyevm.dtb step3: bootm 0x82000000 - 0x83000000 打印信息如下 U-Boot# U-Boot# U-Boot# U-Boot# tftp 0x82000000 uImagelink up on port 0, speed 1000, full duplexUsing cpsw deviceTFTP from server 192.168.65.106; our IP address is 192.168.65.249Filename 'uImage'.Load address: 0x82000000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ##################################################### 178.7 KiB/sdoneBytes transferred = 4593440 (461720 hex)U-Boot# tftp 0x83000000 am437x-gp-easyevm.dtblink up on port 0, speed 1000, full duplexUsing cpsw deviceTFTP from server 192.168.65.106; our IP address is 192.168.65.249Filename 'am437x-gp-easyevm.dtb'.Load address: 0x83000000Loading: ########## 196.3 KiB/sdoneBytes transferred = 50739 (c633 hex)U-Boot# bootm 0x82000000 - 0x83000000## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.14.43 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4593376 Bytes = 4.4 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK## Flattened Device Tree blob at 83000000 Booting using the fdt blob at 0x83000000 Loading Kernel Image ... OK Loading Device Tree to 8fff0000, end 8ffff632 ... OKStarting kernel ... _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _||__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am437x-evm /dev/ttyO0Arago 2015.05 am437x-evm /dev/ttyO0am437x-evm login: rootroot@am437x-evm:~# 而直接从nand启动就有kernel的打印信息 U-Boot SPL 2014.07-00115-g6c69db3 (Jan 30 2016 - 17:32:22) Could not probe the EEPROM at 0x50 Could not get board ID. SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! U-Boot 2014.07-00115-g6c69db3 (Jan 30 2016 - 17:32:22)I2C: readyDRAM: 512 MiBNAND: 512 MiBMMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1reading uboot.envCould not probe the EEPROM at 0x50Could not get board ID.Net: cpsw, u***_etherHit any key to stop autoboot: 0switch to partitions #0, OKmmc0 is current deviceSD/MMC found on device 0reading uEnv.txt** Unable to read file uEnv.txt **4576224 bytes read in 212 ms (20.6 MiB/s)50683 bytes read in 9 ms (5.4 MiB/s)Booting from mmc0 ...Kernel image @ 0x82000000 [ 0x000000 - 0x45d3e0 ]## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff0000, end 8ffff5fa ... OKStarting kernel ...[ 0.000000] Booting Linux on physical CPU 0x0[ 0.000000] Linux version 3.14.43 (zxp@zxp) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Fri Sep 9 16:13:52 CST 2016[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache[ 0.000000] Machine model: TI AM437x GP EVM[ 0.000000] cma: CMA: reserved 24 MiB at 9e400000[ 0.000000] Memory policy: Data cache writeback[ 0.000000] CPU: All CPU(s) started in SVC mode.[ 0.000000] AM437x ES1.2 (sgx neon )[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129536[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)[ 0.000000] Memory: 483656K/522240K available (6215K kernel code, 312K rwdata, 2212K rodata, 269K init, 233K bss, 38584K reserved, 0K highmem)[ 0.000000] Virtual kernel memory layout:[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)[ 0.000000] .text : 0xc0008000 - 0xc08430c4 (8429 kB)[ 0.000000] .init : 0xc0844000 - 0xc08874cc ( 270 kB)[ 0.000000] .data : 0xc0888000 - 0xc08d6200 ( 313 kB)[ 0.000000] .bss : 0xc08d6200 - 0xc0910890 ( 234 kB)[ 0.000000] NR_IRQS:16 nr_irqs:16 16[ 0.000000] GIC CPU mask not found - kernel will fail to boot.[ 0.000000] GIC CPU mask not found - kernel will fail to boot.[ 0.000000] OMAP clockevent source: timer2 |
|
相关推荐
3个回答
|
|
用的kernel是一样的么?好像把console给关掉的感觉。
|
|
|
|
hi,Zhou 是一样的,不过一个是通过SD卡更新(zImage),一个是通过uboot(uImage) 都是一起编译产生的,编译过程如下 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distcleanmake ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am437x-evm_defconfigmake ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am437x-gp-easyevm.dtbmake ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j4make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j4make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0X80008000最后一个命令“make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0X80008000”的 LOADADDR是怎么决定的?我写对了吗? 谢谢! |
|
|
|
device tree架构应该用zImage |
|
|
|
只有小组成员才能发言,加入小组>>
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
571 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1022 浏览 1 评论
666 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
498 浏览 1 评论
1020 浏览 0 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
124浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
98浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
106浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
105浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
129浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-7 04:47 , Processed in 0.765127 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号