[U-Boot] xhci USB controller driver for x86 board

2016-11-09 Thread Ding, ChiX
Hi there I'm having problem getting USB 3.0 controller working properly on the Intel Denverton x86 board. First I tried to use xhci driver, but there doesn't seem to be any xhci driver or generic driver for x86 I only found the following xhci-exynos5.c: { .compatible = "samsung,exynos5250-xhci"

Re: [U-Boot] build error with CONFIG_DM_PCI disabled in menuconfig

2016-10-11 Thread Ding, ChiX
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, October 11, 2016 11:44 AM > To: Ding, ChiX > Cc: Simon Glass ; u-boot@lists.denx.de > Subject: Re: [U-Boot] build error with CONFIG_DM_PCI disabled in menuconfig > > Hi Chi, >

Re: [U-Boot] build error with CONFIG_DM_PCI disabled in menuconfig

2016-10-11 Thread Ding, ChiX
anks a lot, Chi -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Tuesday, October 11, 2016 2:44 AM To: Ding, ChiX ; Simon Glass Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] build error with CONFIG_DM_PCI disabled in menuconfig On Mon, Oct 10, 2016 at

[U-Boot] build error with CONFIG_DM_PCI disabled in menuconfig

2016-10-10 Thread Ding, ChiX
Hi there I disabled CONFIG_DM_PCI in menuconfig because I have problem detecting AHCI SCSI controller on X86 board with CONFIG_DM_PCI enabled and the older code in drivers/pci/pci.c works for me in the previous U-boot version. Then I got the build error : u-boot/arch/x86/cpu/irq.c:29: undefined r

[U-Boot] AHCI controller not found

2016-10-10 Thread Ding, ChiX
Hi there I'm testing U-boot as Coreboot payload on Intel board. It boots into U-boot shell but fails to detect AHCI controller. SCSI: Error: SCSI Controller(s) 8086:19B2 8086:19C2 not found AHCI SCSI devices are defined in coreboot.h, #define CONFIG_SCSI_AHCI #define CONFIG_SCSI_DEV_LIST

Re: [U-Boot] remote debug u-boot through serial port

2016-08-23 Thread Ding, ChiX
werpc/lib/kgdb.c:kgdb_longjmp(long *buf, int val) Does it mean that if I want to enable debugging u-boot through serial port on x86 , then I need to copy/port the implementation of kgdb.c to u-boot, enable it and build it? Thanks, Chi From: Ding, ChiX Sent: Tuesday, August 23, 2016 3:25 PM T

[U-Boot] remote debug u-boot through serial port

2016-08-23 Thread Ding, ChiX
Hi there I'm learning how to remote debug u-boot through serial port. In menuconfig general setup, I selected "enable debug information for tools". It adds -g in gcc flag. After built is over, I got u-boot, u-boot.sym, u-boot.map and a few other files. When I run objdump -trS u-boot, it does show

Re: [U-Boot] building u-boot x86 with device tree disabled , still refers to device tree function

2016-08-17 Thread Ding, ChiX
Hi Bin Thanks for the reply. I'm building for Intel Harrisonville board with Denverton chipset. Cheers, Chi -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Friday, August 12, 2016 5:12 AM To: Ding, ChiX ; Simon Glass Cc: u-boot@lists.denx.de Subject: Re: [U

Re: [U-Boot] building u-boot x86 with device tree disabled , still refers to device tree function

2016-08-17 Thread Ding, ChiX
pts */ if (regs->irq_id < 32) { /* Architecture defined exception */ do_exception(regs); Any suggestion on this issue? Thanks a lot, Chi -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Friday, August 12, 2

[U-Boot] building u-boot x86 with device tree disabled , still refers to device tree function

2016-08-11 Thread Ding, ChiX
Hi there I'm building u-boot as payload for x86 platform. I didn't enable device tree in menuconfig (CONFIG_OF_CONTROL is not set) because I use a board config file coreboot.h. When I built u-boot, it reports error during linking stage : undefined reference to dm_scan_fdt_dev arch/x86/lib/built