We need to install debian linux for desktop on 2080RDB devkit so we need to change uboot config to boot a PCIe Video Card ( ATI) . How we can confiugure uboot?
Hello yusufalti333@gmail.com,
We have published a more info about:
I hope that links will be helpful
Roberto
Hello thank you very much for the answer Roberto,
I will take a look to these threads ASAP. I hope I make similar configurations to my t1042 system.
Successfully recompiled u-boot with video radeon card support:
modification of file:
build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include/configs/T208xRDB.h
+/* Video */
+#define CONFIG_VIDEO
+#define VIDEO_IO_OFFSET CONFIG_SYS_PCIE1_IO_VIRT
+
+/* Video */
+#if defined(CONFIG_VIDEO)
+#define CONFIG_BIOSEMU
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_VIDEO_SW_CURSOR
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+#define CONFIG_ATI_RADEON_FB
+#define CONFIG_VIDEO_LOGO
+#define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
+#endif
+
Hello ,robertoinnocenti
Can you explain these steps ? I am trying to do something similar, using a GPU over PCI express with t1042 for U-boot console messages.
If SDK-2.0-1703 is used apply the following patch to fix it:
http://git.freescale.com/git/cgit.cgi/yocto/meta-nxp-npi.git/commit/?h=jethro-sdk-v2.0-ga-17.03
Attached file contains corrected linux-qoriq_4.1.bbappend file. Path for this file is the following:
/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-nxp-npi-1703/recipes-kernel/linux$ ls
linux-qoriq_4.1.bbappend
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you; now I have recompiled the kernel image.
The u-boot I have in the T2080RDB is already compiled with ?
#define CONFIG_BIOSEMU /* x86 bios emulator for vga bios */ #define CONFIG_ATI_RADEON_FB /* use radeon framebuffer driver */
U-boot supports console as terminal. It does not support video cards. U-boot usually does not initialize PCIe cards.
It does not have code for PCIe card operations.
NXP offers SDK 2.0 for LS2080ARDB board:
This SDK supports PCIe.
Check drivers for your card in kernel menu:
Device Drivers --->
Graphics support --->
Frame buffer Devices --->
Use the following command sequence for kernel menu:
bitbake -c cleansstate virtual/kernel
bitbake -c patch virtual/kernel
bitbake -c menuconfig virtual/kernel
Rebuild kernel using the following command:
bitbake virtual/kernel
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
but with errors:
../drivers/bios_emulator/besys.c: In function 'BE_inb':
| ../arch/powerpc/include/asm/io.h:50:42: error: expected expression before ')' token
| #define inb(port) in_8((u8 *)((port)+_IO_BASE))
Successfully recompiled u-boot with video radeon card support:
modification of file:
build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include/configs/T208xRDB.h
+/* Video */
+#define CONFIG_VIDEO
+#define VIDEO_IO_OFFSET CONFIG_SYS_PCIE1_IO_VIRT
+
+/* Video */
+#if defined(CONFIG_VIDEO)
+#define CONFIG_BIOSEMU
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_VIDEO_SW_CURSOR
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+#define CONFIG_ATI_RADEON_FB
+#define CONFIG_VIDEO_LOGO
+#define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
+#endif
+
Done successfully:
bitbake -c cleansstate virtual/kernel
bitbake -c patch virtual/kernel
doing command:
bitbake -c menuconfig virtual/kernel
Exit with ERROR:
cp: cannot stat '/home/roby/software/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/git/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig': Too many levels of symbolic links (edited)
Same error of: https://community.nxp.com/message/900964
Thank you, I have forwarded your answer to the person of our team that is working with uboot, I will update about the evolution