[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Small Patch to uclinux_v1_00_d
Hi,
these are two small patches to avoid some annoying problems:
1) uclinux_v2_1_0.mld.patch adds support for opb_bram_if_cntlr, in case
you prefer to use it instead of lmb_bram
as suggested by xapp482
2) uclinux_v2_1_0.tcl.patch avoid an annoying script error in case you
use CVS
Looking at uclinux_v2_1_0.tcl I noted you copy Makefile_new in case of
Microblaze 3.00a and Makefile_old in case
of all other versions (4.00 included), is it correct?
Regards,
Claudio Lanconelli
--- uclinux_v2_1_0.mld.ori 2006-03-08 15:04:13.000000000 +0100
+++ uclinux_v2_1_0.mld 2006-03-08 15:04:13.000000000 +0100
@@ -25,7 +25,7 @@
PARAMETER name = flash_memory_size, desc="Manual override of flash memory size", type = integer, default = 0;
PARAMETER name = flash_memory_offset, desc="Manual override of flash memory start offset", type = integer, default = 0;
-PARAMETER name = lmb_memory, desc = "Name of LMB Memory used with uClinux", type = peripheral_instance, range=(lmb_bram_if_cntlr,none), default = none;
+PARAMETER name = lmb_memory, desc = "Name of LMB Memory used with uClinux", type = peripheral_instance, range=(lmb_bram_if_cntlr,opb_bram_if_cntlr,none), default = none;
PARAMETER name = periph_type_overrides, desc = "List of peripheral type overrides", type = string, default = "";
--- uclinux_v2_1_0.tcl.ori 2006-03-15 10:31:22.221754912 +0100
+++ uclinux_v2_1_0.tcl 2006-03-08 16:45:11.000000000 +0100
@@ -122,7 +122,7 @@
if {![string compare -nocase $procver "3.00.a"] } { ;# Copy over Makefile_new only for v3.00.a
file copy -force $entry [file join "." "src" "Makefile"]
}
- } else {
+ } elseif {[string first "CVS" $entry] == -1} {
if { [string first "exception" $entry] == -1 || ![string compare -nocase $procver "3.00.a"] } {
# Copy over only files that are not related to exception handling. All such files have exception in their names
file copy -force $entry "./src/"
@@ -148,6 +148,7 @@
# Remove microblaze and ppc405 directories
file delete -force $mbsrcdir
file delete -force $ppcsrcdir
+ file delete -force "./src/CVS"
# handle the stdout and stdin params, for the bootloader
xhandle_stdout $os_handle