$ arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Linaro GCC 7.4-2019.02)7.4.120181213[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);