Thanks, I'm working through it now From: Belal, Awais [mailto:awais_be...@mentor.com] Sent: 08 February 2018 10:06 To: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com>; meta-amd@yoctoproject.org Subject: EXT: Re: Kernel won't boot on Bald Eagle
>> Thanks again, will go back and turn off amdgpu and turn on radeon in the >> kernel configuration. As far as you are aware will the KAVERI firmware in >> the old meta-baldeagle layer still >> work? That should work but if you run into trouble you can always check: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/radeon BR, Awais ________________________________ From: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>> Sent: Wednesday, February 7, 2018 4:03 PM To: Belal, Awais; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: RE: Kernel won't boot on Bald Eagle Thanks again, will go back and turn off amdgpu and turn on radeon in the kernel configuration. As far as you are aware will the KAVERI firmware in the old meta-baldeagle layer still work? From: Belal, Awais [mailto:awais_be...@mentor.com] Sent: 07 February 2018 10:50 To: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>>; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: EXT: Re: Kernel won't boot on Bald Eagle >> I understood that amdgpu will support the Bald Eagle That's true but as we haven't verified how well it works and on the other hand the radeon driver is proved to work I'd stick to that. BR, Awais ________________________________ From: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>> Sent: Wednesday, February 7, 2018 3:29 PM To: Belal, Awais; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: RE: Kernel won't boot on Bald Eagle Thanks for the advice, when I get a bit more time I will retry. I understood that amdgpu will support the Bald Eagle (albeit not very well until kernel 4.15), would you recommend I stick with the radeon kernel drivers for now? From: Belal, Awais [mailto:awais_be...@mentor.com] Sent: 07 February 2018 10:18 To: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>>; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: EXT: Re: Kernel won't boot on Bald Eagle >> I applied no patches to the 4.9.49 Yocto Linux sources when attempting to >> use the machine definition for Bald Eagle I brought forward from the >> jethro branch (see the previous post). I could not get this setup to boot >> at all after playing around for a day or so. I suspect a bad kernel >> configuration was the root cause. I have now abandoned this idea. Odd, this should've worked. I believe looking through the kernel config/compile logs would help. Also, the kernel boot log should hint as to what might be going wrong. >> I am now having much better success i.e. I am booting to the console, by >> using the meta-yocto-bsp "genericx86-64" machine definition with the default >> 4.9.49 kernel configuration >> (arrived at via bitbake virtual/kernel -c >> kernel_configme). My goal is to get a working graphics stack for the 2nd >> Generation R-Series APU. The layers that define our distribution are >> at >> present constrained to use the Yocto pyro release and a version 4.9.x kernel. >> To this end I have been looking at the meta-v1000 layer and plan to follow >> the patterns there to get a working graphics stack. Do you think this is >> good or bad idea? The meta-v1000 layer (supporting the V1000 BSP) has an amdgpu while the Bald Eagle uses radeon and the overrides in these layers have been maintained accordingly. You'll probably need to pick up changes after a bit of inspection. BR, Awais ________________________________ From: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>> Sent: Wednesday, February 7, 2018 12:58 PM To: Belal, Awais; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: RE: Kernel won't boot on Bald Eagle Hi Awais, I applied no patches to the 4.9.49 Yocto Linux sources when attempting to use the machine definition for Bald Eagle I brought forward from the jethro branch (see the previous post). I could not get this setup to boot at all after playing around for a day or so. I suspect a bad kernel configuration was the root cause. I have now abandoned this idea. I am now having much better success i.e. I am booting to the console, by using the meta-yocto-bsp "genericx86-64" machine definition with the default 4.9.49 kernel configuration (arrived at via bitbake virtual/kernel -c kernel_configme). My goal is to get a working graphics stack for the 2nd Generation R-Series APU. The layers that define our distribution are at present constrained to use the Yocto pyro release and a version 4.9.x kernel. To this end I have been looking at the meta-v1000 layer and plan to follow the patterns there to get a working graphics stack. Do you think this is good or bad idea? BTW the hardware I have works fine under Ubuntu 16.04 so I can rule out any hardware related issues. Peter From: Belal, Awais [mailto:awais_be...@mentor.com] Sent: 07 February 2018 06:51 To: Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>>; meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: EXT: Re: Kernel won't boot on Bald Eagle Hi Peter, >> kernel panics directly after mounting the root file system. Can you please share the panic logs? Also are you using any patches on top of the 4.9 base kernel? BR, Awais ________________________________ From: meta-amd-boun...@yoctoproject.org<mailto:meta-amd-boun...@yoctoproject.org> <meta-amd-boun...@yoctoproject.org<mailto:meta-amd-boun...@yoctoproject.org>> on behalf of Smith, Peter1 (GE Power) <peter.t.sm...@ge.com<mailto:peter.t.sm...@ge.com>> Sent: Thursday, February 1, 2018 10:09 PM To: meta-amd@yoctoproject.org<mailto:meta-amd@yoctoproject.org> Subject: [meta-amd] Kernel won't boot on Bald Eagle Hi, looking for some pointers. I have tried to resurrect the meta-baldeagle layer and pull it forward to work with Yocto poky. I have a clean build but the kernel panics directly after mounting the root file system. I have used the linux-yocto 4.9 kernel, with a machine configuration and linux-kernel_4.9.bbaapend as below. Any clues? ==== #@TYPE: Machine #@NAME: baldeagle #@DESCRIPTION: Machine configuration for baldeagle systems PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto ?= "4.9%" require conf/machine/include/tune-baldeagle.inc include conf/machine/include/amd-common-configurations.inc XSERVER_X86_GPU = "xf86-video-amd \ ${@bb.utils.contains('DISTRO_FEATURES<mailto:$%7b@bb.utils.contains('DISTRO_FEATURES>', 'opengl', 'mesa-driver-radeon', '', d)}" XSERVER ?= "${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_FBDEV} \ ${XSERVER_X86_MODESETTING} \ ${XSERVER_X86_GPU} \ " MACHINE_EXTRA_RRECOMMENDS += "radeon-firmware" #MACHINE_EXTRA_RRECOMMENDS += "amd-gpio" # Setup a gettys on all serial ports SERIAL_CONSOLES = "115200;ttyUSB0" # Make sure the kernel messages go to the VGA console and to the serial ports. KERNEL_SERIAL_CONSOLE = "console=ttyUSB0,115200n8" APPEND += "radeon.dpm=1" MACHINEOVERRIDES =. "amd:amdx86:radeon:" # Metadata used by CodeBench for the ADE ADE_CB_CPU = "general.cpu.puma" ==== FILESEXTRAPATHS_prepend := "${THISDIR}/files:" KMACHINE_baldeagle ?= "common-pc-64" KBRANCH_baldeagle ?= "standard/base" KERNEL_FEATURES_append_baldeagle = " cfg/smp.scc" COMPATIBLE_MACHINE_baldeagle = "baldeagle" ==== Thanks Peter
_______________________________________________ meta-amd mailing list meta-amd@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-amd