BSP - Top level BSP and others
What is it?
This BSP can help you generate configuration files for some BSP together.
How does this BSP work?
BSP is looking for set BSP name and try to run this.
Example
I want to work with standalone application in EDK and I want to generate U-BOOT configuration files and DTS structure for Linux.
Your steps
set U-BOOT BSP in mss file, configure BSP and generate files
copy these files to backup folder
set FDT BSP in mss file, configure BSP and generate files
copy these files to backup folder
set standalone BSP in mss file, configure BSP and generate files
compile my standalone application
And then I want to work with 2.6. Petalogix kernel and I want to use FS-BOOT like first stage bootloader. What is happen? I need to set petalogix BSP and generate files for linux and setting files for FSBOOT.
That's why I create my new BSP which is called Top level BSP which unify different BSP together.
Your current steps
How to set?
Software platform setting → Software platform
Software platform setting → OS and Libraries
MSS part
BEGIN OS
PARAMETER OS_NAME = top
PARAMETER OS_VER = 1.00.a
PARAMETER PROC_INSTANCE = microblaze_0
PARAMETER timer = xps_timer_1
PARAMETER ethernet = Ethernet_MAC
PARAMETER gpio = LEDs_8Bit
PARAMETER lmb_memory = dlmb_cntlr
PARAMETER flash_memory = FLASH_16Mx8
PARAMETER main_memory = DDR_SDRAM_32Mx16
PARAMETER stdin = RS232_DTE
PARAMETER stdout = RS232_DTE
END
System log
#-------------------------------------------------
# Top Level BSP DRC for U-BOOT, FDT, Petalinux...
# Created by: Michal Simek
#-------------------------------------------------
Running generate for OS'es, Drivers and Libraries ...
Windows
Project folder is
f:/xilinx/=design/92/Xilinx-Spartan3E1600-RevA-ll_temac/microblaze_0/libsrc/top_
v1_00_a/../../..
system.xmp
---- C:/edk_user_repository ---
C:/edk_user_repository isn't in
system2.xmp
---- C:/edk_user_repository ---
C:/edk_user_repository is in C:/edk_user_repository
DEBUG: C:/edk_user_repository
DEBUGprom: C:/edk_user_repository/BlueCat/bsp
C:/edk_user_repository/Micrium/bsp
C:/edk_user_repository/Nucleus/bsp
C:/edk_user_repository/PetaLogix/bsp
C:/edk_user_repository/ThirdParty/bsp
C:/edk_user_repository/ghs/bsp
C:/edk_user_repository/ml310_pci_Monstavista/bsp
C:/edk_user_repository/top/bsp
C:/edk_user_repository/uClinux/bsp
C:/edk_user_repository/uboot/bsp
DEBUGlocA: C:/edk_user_repository/BlueCat/bsp
DEBUGlocA: C:/edk_user_repository/Micrium/bsp
DEBUGlocA: C:/edk_user_repository/Nucleus/bsp
DEBUGlocA: C:/edk_user_repository/PetaLogix/bsp
DEBUGlocA: C:/edk_user_repository/ThirdParty/bsp
DEBUGlocA: C:/edk_user_repository/ghs/bsp
DEBUGlocA: C:/edk_user_repository/ml310_pci_Monstavista/bsp
DEBUGlocA: C:/edk_user_repository/top/bsp
DEBUGlocA: C:/edk_user_repository/uClinux/bsp
DEBUGlocA: C:/edk_user_repository/uboot/bsp
------------BEGIN PATH------------------------
f:/xilinx/=design/92/Xilinx-Spartan3E1600-RevA-ll_temac/microblaze_0/libsrc/top_
v1_00_a/../../../bsp/ C:/edk_user_repository
C:/edk_user_repository/BlueCat/bsp/ C:/edk_user_repository/Micrium/bsp/
C:/edk_user_repository/Nucleus/bsp/ C:/edk_user_repository/PetaLogix/bsp/
C:/edk_user_repository/ThirdParty/bsp/ C:/edk_user_repository/ghs/bsp/
C:/edk_user_repository/ml310_pci_Monstavista/bsp/
C:/edk_user_repository/top/bsp/ C:/edk_user_repository/uClinux/bsp/
C:/edk_user_repository/uboot/bsp/ f:\xilinx\edk92i/sw/lib/bsp/
------------END PATH--------------------------
BSP name: fdt_v1_00_a fdt_v2_1_0.tcl
I found tcl_script in
C:/edk_user_repository/top/bsp//fdt_v1_00_a/data/fdt_v2_1_0.tcl
Calling fdt::generate
#--------------------------------------
# FDT BSP generate...
#--------------------------------------
Clock Frequency: 50000000
+++++++++++ 40971032 ++++++++
-master 40971032 DPLB mb_plb microblaze_0
-master 40971032 IPLB mb_plb microblaze_0
-slave 41013624 SPLB mb_plb RS232_DTE
-slave 41017688 SPLB mb_plb LEDs_6Bit
-slave 41022552 SPLB mb_plb FLASH
-slave 45814552 SPLB2 mb_plb DDR_SDRAM
-slave 49980376 SPLB mb_plb Soft_TEMAC
-slave 49990968 SPLB mb_plb xps_timer_1
-slave 49994968 SPLB mb_plb xps_timer_2
-slave 49999320 SPLB mb_plb Soft_TEMAC_fifo
-slave 55452024 SPLB mb_plb debug_module
-slave 55464600 SPLB mb_plb xps_intc_0
Default handling for unknown IP FLASH (xps_mch_emc) Failed... It won't show up
in the device tree.
+++++++++++ 40971032 ++++++++
BSP name: uboot_v4_00_c uboot_v2_1_0.tcl
I found tcl_script in
C:/edk_user_repository/top/bsp//uboot_v4_00_c/data/uboot_v2_1_0.tcl
Calling uboot::generate
#--------------------------------------
# uboot BSP generate...
#--------------------------------------
System bus for instruction and data
WARNING automatic U-BOOT position
BSP name: petalinux_v1_00_b petalinux_v2_1_0.tcl
I found tcl_script in
C:/edk_user_repository/PetaLogix/bsp//petalinux_v1_00_b/data/petalinux_v2_1_0.tc
l
Calling petalogix::generate
#--------------------------------------
# PetaLinux BSP generate...
#--------------------------------------
Calling standalone::generate
Calling standalone::generate
Versions
Version | Download | Description |
edk_user_repository | Download | All BSP together - old device-tree bsp |
top_v1.00.b
top_v1.00.a
Initial version of top utility which is full packed with U-BOOT, FDT, Petalogix BSP
Compatible version of BSP
u-boot_v4_00_c
fdt_v1_00_a
petalogix_v1_00_b
standalone_v1_00_a
Standalone BSP is called from EDK installation
Tested on Windows and Linux
Generated files
BSP | Files |
u-boot_v4_00_c | config.mk, xparameters.h, KconfigFDT.auto(For FDT linux kernel) |
fdt_v1_00_a | system.dts |
petalogix_v1_00_b | auto-config.in, Kconfig.auto |
BUGS
Licences
No part of this program may be reproduced or adapted in any form or by any means, electronic or mechanical, without permission from Michal Simek. This program is confidential and may not be disclosed, decompiled or reverse engineered without permission in writing form Michal Simek.