移植android4.0核心時,Starting kernel …沒反應問題解決方案

來源:互聯網
上載者:User

1.問題

用友善內建supperboot引導自己初步編譯的4.0核心(android-3.4)時,Starting kernel ...沒反應

2.解決方案

引用http://blog.sina.com.cn/s/blog_6340cd9c010106pu.html,具體細節:

查看原始碼根目錄/.config檔案——

首先找到

#
# Boot options
#
# CONFIG_S3C_BOOT_ERROR_RESET is not set
CONFIG_S3C_BOOT_UART_FORCE_FIFO=y
CONFIG_S3C_LOWLEVEL_UART_PORT=1 / /預設用來調試的串口(這裡設定為串口1)
CONFIG_SAMSUNG_CLKSRC=y
CONFIG_SAMSUNG_IRQ_VIC_TIMER=y

再找到

# CONFIG_DEBUG_RODATA is not set
CONFIG_DEBUG_LL=y
CONFIG_DEBUG_S3C_UART0=y  / /
串口0被設定為調試輸出口
# CONFIG_DEBUG_S3C_UART1 is not set
# CONFIG_DEBUG_S3C_UART2 is not set
# CONFIG_DEBUG_LL_UART_NONE is not set
# CONFIG_DEBUG_ICEDCC is not set
# CONFIG_DEBUG_SEMIHOSTING is not set

找到問題為串口選擇錯誤,修改方法:make menuconfig: System Type--->(0)S3C UART to use for low-level messages(即修改CONFIG_S3C_LOWLEVEL_UART_PORT=0),便可看到激動人心的核心啟動列印資訊:

Board type: 2
Load Kernel...
Uncompressing Linux... done, booting the kernel.
<6>Booting Linux on physical CPU 0
<5>Linux version 3.4.5-g8e2dfe1-dirty (root@powerking-Lenovo) (gcc version 4.5.1 (ctng-1.8.1-FA) ) #8 PREEMPT Thu Jan 10 09:39:01 CST 2013
CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: MINI210
Memory policy: ECC disabled, Data cache writeback
CPU S5PV210/S5PC110 (id 0x43110220)

3.完

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.