VoiceBlue update
PATCH 1/1 VoiceBlue update
Hi Wolfgang,
please consider applying this board specific patch. You may find some updated trivial patches I sent to mailing list here:
ftp://ftp.linux-mips.org/pub/linux/mips/people/ladis/u-boot/
CHANGELOG
* Patch by Ladislav Michl, 23 May 2005:
VoiceBlue update: eeprom tool can also store firmware version now. eeprom.bin is runable by jumping at load address.
Index: board/voiceblue/Makefile
===================================================================
RCS file: /cvsroot/u-boot/u-boot/board/voiceblue/Makefile,v retrieving revision 1.1
voiceblue/Makefile +5 -3
@@ -32,21 +32,23 @@ gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`) LOAD_ADDR = 0x10400000 +LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds all: $(LIB) eeprom.srec eeprom.bin $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) -eeprom.srec: eeprom.o - $(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e $(<:.o=) $^ \ +eeprom.srec: eeprom.o eeprom_start.o + $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \ + -o $(<:.o=) -e $(<:.o=) $^ \ -L../../examples -lstubs \ -L../../lib_generic -lgeneric \ -L$(gcclibdir) -lgcc $(OBJCOPY) -O srec $(<:.o=) $@ eeprom.bin: eeprom.srec - $(OBJCOPY) -O binary $< $@ 2>/dev/null + $(OBJCOPY) -I srec -O binary $< $@ 2>/dev/null clean: rm -f $(SOBJS) $(OBJS) eeprom eeprom.srec eeprom.bin
Index: board/voiceblue/eeprom.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/board/voiceblue/eeprom.c,v retrieving revision 1.1
voiceblue/eeprom.c +108 -36
168 lines not on this page · raw message
voiceblue/eeprom.lds new file +51 -0
51 lines not on this page · raw message
voiceblue/eeprom_start.S new file +12 -0
@@ -0,0 +1,12 @@ +/* + * Copyright (c) 2005 2N Telekomunikace + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + */ + +.globl _start +_start: b eeprom +
PATCH 1/1 VoiceBlue update
Quoted 4 lines · In message <20050523093706.GA10366@orphique> you wrote:
* Patch by Ladislav Michl, 23 May 2005:
VoiceBlue update: eeprom tool can also store firmware version now. eeprom.bin is runable by jumping at load address.
Added, thanks.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Panic, n.: The second time you can't do it the first time.