openbmc icon indicating copy to clipboard operation
openbmc copied to clipboard

Use kernel 4.17 cannot boot

Open simon-fan opened this issue 5 years ago • 6 comments

I have a Wedge100 board, I want to change the kernel to 4.17. I modify file meta-aspeed/conf/machine/include/ast1250.inc PREFERRED_VERSION_linux-aspeed ?= "4.17"

It build to image 4.18 kernel version. I loaded fit-wedge100.itb image, it hangs at Starting kernel ... Below is the messages:

DRAM Init-DDR3 CBR0-1234567012345670123456701234567 CBR134Done

U-Boot 2016.07 wedge100-a368332 (Nov 07 2018 - 14:24:47 +0800)

DRAM: 248 MiB Dual boot watchdog: 295s Watchdog: 300s Flash: FMC-CS0: flash ID: 1920c2 FMC-CS1: flash ID: 0 FMC-CS1: Unknown flash ID! FMC-CS1: Skip unsupported flash! 32 MiB In: serial Out: serial Err: serial H/W: AST2400 series chip Rev. 01 Net: aspeednic#1 autoboot in 30 seconds (stop with 'Delete' key)... Wedge100-boot=> printenv baudrate=9600 boot_t=tftpboot ${loadaddr} ${k_file};bootm ${loadaddr} bootargs=debug console=ttyS2,9600n8 root=/dev/ram rw bootcmd=bootm 20080000; vbs 6 60; bootm 200E0000; bootdelay=30 bootfile=flash-wedge100 eeprom=y ethact=aspeednic#1 ethaddr=A8:2B:B5:E5:75:D5 gatewayip=192.168.171.1 initrd_high=a0000000 ipaddr=192.168.171.71 k_file=wedge100_1_18/fit-wedge100-20181128041321.itb loadaddr=4c000000 netmask=255.255.255.0 preboot=vbs oscheck; serverip=192.168.171.1 spi_dma=no stderr=serial stdin=serial stdout=serial updatefile=flash-wedge100.fit verify=no

Environment size: 609/131068 bytes Wedge100-boot=> run boot_t aspeednic#1: PHY at 0x18 set_mac_control_register 1458 Using aspeednic#1 device TFTP from server 192.168.171.1; our IP address is 192.168.171.71 Filename 'wedge100_1_18/fit-wedge100-20181128041321.itb'. Load address: 0x4c000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ####################################################### 2 MiB/s done Bytes transferred = 16253778 (f80352 hex)

Loading kernel from FIT Image at 4c000000 ...

Using 'conf@1' configuration Trying 'kernel@1' kernel subimage Description: Linux kernel Type: Kernel Image Compression: uncompressed Data Start: 0x4c0000e4 Data Size: 2134576 Bytes = 2 MiB Architecture: ARM OS: Linux Load Address: 0x40008000 Entry Point: 0x40008000 Hash algo: sha256 Hash value: 81fd897f28f32bcbbf7ad993e1ea1158c0b7fc5211afad73f1dc14cc1f59dc1c

Loading ramdisk from FIT Image at 4c000000 ...

Using 'conf@1' configuration Trying 'ramdisk@1' ramdisk subimage Description: RAMDISK Type: RAMDisk Image Compression: lzma compressed Data Start: 0x4c209404 Data Size: 14117286 Bytes = 13.5 MiB Architecture: ARM OS: Unknown OS Load Address: unavailable Entry Point: unavailable Hash algo: sha256 Hash value: da92e37291b1cd7b805c555c04ee07f4b70f833fe0b3eb8e3c6343191f4b8c8d Loading Kernel Image ... OK Loading Ramdisk to 4e935000, end 4f6ab9a6 ... OK

Starting kernel ...


simon-fan avatar Nov 29 '18 02:11 simon-fan