mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
dd84058d24
This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
README.stxxtc | ||
stxxtc.c | ||
u-boot.lds | ||
u-boot.lds.debug |
First, some build notes on the Silicon Turnkey eXpress XTc. This board has both 87x/88x procesor options at various frequencies. The configuration file has some macros for setting the clock speed, not all have been tested. They all have a 10MHz input clock. Please do not check in a configuration file that selects a high speed not available on all processors. We chose the 66MHz core and bus speed, which should be OK on all boards. If you have a processor, lucky you! :-) Just build a new configuration with that speed, check the macro configuration to ensure it's correct. If the macro is updated, please check that in, but keep default processor speed. The board is likely to have more than 1Mbyte of NOR boot flash. It was also configured with a high boot vector (Dan's fault) so the standard 8xx mapping doesn't work well. We had to move the addresses around a little bit so one copy would work. The flash got fragmented, and we are working on a better solution. There is an "xtc.cfg" floating around for the BDI2000, use that for programming a new version of U-Boot. You can probably find it on the Silicon Turnkey eXpress (www.silicontkx.com), Embedded Alley Solutions (embeddedalley.com), or Denx (denx.de) servers. The board will also have various SDRAM sizes, but the code should automatically determine the amount of memory. There are a couple of different board versions, visually they use different BGA or surface mount memory parts. However, they are logically the same board. Now, some operational notes. The board has the option of sporting two FEC Ethernet ports. The second port isn't configured to be automatically available because it would cause U-Boot to generate a board data structure (the bd_t) with multiple MAC addresses and be incompatible with standard 8xx kernel builds. You can use/test the second FEC in U-Boot by assigning an 'eth1addr' and selecting the second FEC as the port to use. Since this is just a development board and not a product, STx does not assign unique MAC addresses. We just pilfer the "default" ones used by Wolfgang on some other boards. Please ensure you assign unique MAC addresses when using these boards. The serial port baud rate is 38400, because that's the way I like it :-) Thanks to Pantelis for lots of the work on this board port. Have Fun! -- Dan 15 August 2005