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))
Hello All, (@robertoinnocent , @yusufalti333 @Pavel ),
I hope this thread is still being looked at ^^.
Im facing a quite similar situation.
Setup:
LS2084A in NXP BlueBox Mini.
NXP BSP29.0.hf1 (image is LS2084abbminiubuntu, based on freescale-meta-alb).
Various GPGPUs (tried NV Quadro K2000, P620, GT1030, older AMD, older Matrox).
Situation in case of standard NOUVEAU drivers (20.04).
+ All GPGPUs enumerate correctly and drivers load (lspci -vvs)
+ See console on video output (TTY too, of course).
- u-boot NOT visible on video output (IS visible on TTY though)
- <startx> fails claiming no screen/display , x11 not configured although xfce4 is installed and working well using x2go for instance
Situation in case of NVidia driver 53x (relatively new) (still ubuntu 20.04).
+ All GPGPUs enumerate correctly and drivers load (lspci -vvs).
+ NVIDIA driver compiles nicely, .ko gets created, DKMS follows through, and driver insmods without issue (driver in use with PCIe device)
+ NVIDIA xconfig tool report success
- NO console on video output (TTY still good).
- u-boot NOT visible on video output (IS visible on TTY though)
- <startx> n/a because monitor stays off, not even text
+ Interestingly, OpenGL benchmark (e.g. glmark2) runs successful on all tests in both cases a) rendering locally and drawing into a buffer only (no screenoutput) and b) rendering locally and drawing to remote display (e.g. via MobaXterm). Reports using NV Quadro video card in both cases. i.e. the video card IS there.
I wonder what the proper approach is to 'force' the system to activate video output.
Would appreciate if anyone has some idea what are to focus on troubleshooting...
Thanks !
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