[U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

Markus Rathgeb maggu2810 at web.de
Sun Mar 29 12:00:14 CEST 2009


Thanks a lot Anatolij!

I have done the following changes:

============
--- include/configs/pcm030.h.org        2009-03-28 18:15:31.000000000 +0100
+++ include/configs/pcm030.h    2009-03-29 10:49:52.000000000 +0200
@@ -156,8 +156,8 @@
 #define CONFIG_PCI_MEM_BUS             0x40000000
 #define CONFIG_PCI_MEM_PHYS            CONFIG_PCI_MEM_BUS
 #define CONFIG_PCI_MEM_SIZE            0x10000000
-#define CONFIG_PCI_IO_BUS              0x50000000
-#define CONFIG_PCI_IO_PHYS             CONFIG_PCI_IO_BUS
+#define CONFIG_PCI_IO_BUS              0x00000000
+#define CONFIG_PCI_IO_PHYS             0x50000000
 #define CONFIG_PCI_IO_SIZE             0x01000000
 #define CONFIG_SYS_XLB_PIPELINING      1

@@ -247,8 +247,8 @@
 #   define CONFIG_SYS_RAMBOOT          1
 #endif

-#define CONFIG_SYS_MONITOR_LEN (192 << 10) /* Reserve 192 kB for Monitor   */
-#define CONFIG_SYS_MALLOC_LEN (128 << 10) /* Reserve 128 kB for malloc()  */
+#define CONFIG_SYS_MONITOR_LEN (1024 << 10) /* Reserve 1024 kB for Monitor   */
+#define CONFIG_SYS_MALLOC_LEN (1024 << 10) /* Reserve 1024 kB for malloc()  */
 #define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */

 /*-----------------------------------------------------------------------------
@@ -460,4 +460,18 @@
 #define OF_SOC                         "soc5200 at f0000000"
 #define OF_STDOUT_PATH                 "/soc5200 at f0000000/serial at 2400"

+#define CONFIG_VIDEO
+#ifdef CONFIG_VIDEO
+       #define CONFIG_BIOSEMU                  /* x86 bios emulator
for vga bios */
+       #define CONFIG_ATI_RADEON_FB            /* use radeon
framebuffer driver */
+       #define VIDEO_IO_OFFSET                 CONFIG_PCI_IO_PHYS
+       #define CONFIG_SYS_ISA_IO_BASE_ADDRESS  VIDEO_IO_OFFSET
+       #define CONFIG_VIDEO_SW_CURSOR
+       #define CONFIG_VIDEO_LOGO
+       #define CONFIG_CFB_CONSOLE
+       #define CONFIG_SPLASH_SCREEN
+       #define CONFIG_VGA_AS_SINGLE_DEVICE
+       #define CONFIG_CMD_BMP
+#endif
+
 #endif /* __CONFIG_H */
============

So, I see now the u-boot on the monitor. More tests will follow.

I changed also CONFIG_SYS_MONITOR_LEN and CONFIG_SYS_MALLOC_LEN.
I do not know, what are the minimum values that are working.
But 128 and 256 for CONFIG_SYS_MALLOC_LEN are to small and with the
above values it is working - so it is okay for me.

Where can I read more about that options (and the options for video)?
Are there documentations or should I read the source code (that is no
problem, but it will be cost a lot of time)?

Thanks again.

Greats,
Markus


More information about the U-Boot mailing list