$ arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
arch/arm/configs/s3c6400_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- s3c6400_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LOADADDR=0x50008000 uImage
现象:
打印完 s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 69, base_baud
卡死
临时解决方案
s3c24xx_serial_probe 中 注释掉 以下 行
/*
* Deactivate the clock enabled in s3c24xx_serial_init_port here,
* so that a potential re-enablement through the pm-callback overlaps
* and keeps the clock enabled in this case.
*/
clk_disable_unprepare(ourport->clk);
if (!IS_ERR(ourport->baudclk))
clk_disable_unprepare(ourport->baudclk);
u-boot 的 bootargs 中要添加rootwait
最小配置
CONFIG_ARCH_MULTI_V6=y
CONFIG_ARCH_S3C64XX=y
CONFIG_MACH_SMDK6410=y
CONFIG_SERIAL_SAMSUNG=y
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_S3C=y
CONFIG_EXT3_FS=y
上一篇:OK6410A 开发板 (七) 1 OK6410A 文件系统 busybox和buildroot 移植
下一篇:OK6410A 开发板 (六) 1 OK6410A linux-4.0 移植
推荐阅读最新更新时间:2024-11-09 11:14