-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use kernel 4.17 cannot boot #96
Comments
@TomRepo could share his progress on this. |
Hi, Dear Tao Ren: On my build wedge100 image, why does it not contain device tree? Thanks. |
First time I loaded kernel image from tftp. Is there any code not yet ported to 4.18 kernel? |
Besides PREFERRED_VERSION_linux-aspeed, you also need to set "KERNEL_DEVICETREE" and update PREFERRED_VERSION_libwatchdog to "0.2" in .conf. Refer to meta-facebook/meta-cmm/conf/machine/cmm.conf for example. |
In general, wedge100 kernel upgrade is not completed yet: although you can boot up kernel 4.17/4.18 on wedge100 if above 3 variables are properly configured, you will see a lot of errors/warnings during bootup, and some functions (such as gpio, usb and etc.) may not work properly. |
Thanks for help. |
Summary: setup-avs.sh to setup TH3 avs voltage on booting Pull Request resolved: facebookexternal/openbmc.celestica#96 Test Plan: No yet. Reviewed By: joancaneus fbshipit-source-id: 65a3ee4e88
…ld driver node (facebook#96) Summary: 1. Add "all" option in setup_mgmt.sh, and modify related scmcpld driver node Note: scmcpld version need 1.31 above Pull Request resolved: facebookexternal/openbmc.accton#96 Test Plan: Test on Minipack:pass Reviewed By: mikechoifb fbshipit-source-id: f9cebd1bb
Summary: ELBERT: Improve debug scripts - Add dump_gpios.sh to help us in dumping gpio state. - Improve show_tech.py and make it more resilient to failing commands Testing: root@bmc-oob:~# dump_gpios.sh v | dir | GPIONAME 0 | out | BMC_ALIVE 1 | out | BMC_BOARD_EEPROM_WP_L 1 | out | BMC_CHASSIS_EEPROM_WP_L 0 | out | BMC_SPI1_CS0_MUX_SEL 1 | in | BMC_TEMP_ALERT ... Pull Request resolved: facebookexternal/openbmc.arista#96 Reviewed By: benwei13 fbshipit-source-id: e3ac94d37f
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 ...
The text was updated successfully, but these errors were encountered: