[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dev83 serial boot




I modified a dev83 to be able to boot from the serial port (put R31 and
X3 header), and created a small program to flash the eth0/1 leds and send
data to the serial port (it loads into memory like ktest, so that I don't
have to reinit the sdram, etc). I upload the program through the network
and works fine. When I upload it through the serial port [1] I get random
results [2,3,4]. It looks like it is desyncing or something. Also the
--memtest etc but they don't work either [5].

Is there any issue with the boards and serial flashing or am I missing
something else?


I use the e100boot from R1_91 and the R55/1.55 toolchain.
Board version 20664-R1, MCM tag: 20663-R2 82 devboard E2.


NOTE: I commented out the "Got ack"s from the e100boot to have
a cleaner output.

[1]
./e100boot/sbl/e100boot --setreg b0000000 000095f8 \
--setreg b0000004 00000104 --setreg b000000c 00e03636 \
--setreg b0000008 8000c002 --pause 20000 --setreg b0000008 8000c602 \
--setreg b0000008 8000c002 --setreg +0 7 --label label1 \
--setreg b0000008 8000c402 --setreg b0000008 8000c002 \
--loop +0 label1 --setreg b0000008 8060c202 \
--setreg b0000008 8000c002 --setreg b0000008 80008002 \
--setreg b0000030 00001df0 --setreg b0000038 00001ef3 \
--file load.img c0800000 --jump c0800000 \
--serial --baudrate 9600
Using internal boot loader: INTERNAL_SER - Serial boot.
Starting boot...

[2]
# transmitting file 'INTERNAL_SER'
# transmitting 6488 bytes at baudrate 9600.
# transmitting file 'BOOT_CMDS'
# transmitting 492 bytes at baudrate 9600.
vice ID = 0x0000EE8F
otloader was built by root on Thu Jan 22 18:04:49 GMT 2004.
um of bootloader is 0x00090E13
g for load info.
Z# transmitting file 'load.img'
# transmitting 232 bytes at baudrate 9600.
# Transmission done. Just listening now.

[3]
# transmitting file 'INTERNAL_SER'
# transmitting 6488 bytes at baudrate 9600.
# transmitting file 'BOOT_CMDS'
# transmitting 492 bytes at baudrate 9600.
Device ID = 0xBFFABC10
 bootloader was built by root on Thu Jan 22 18:04:49 GMT 2004.
ksum of bootloader is 0x0009105F
ing for load info.
# transmitting file 'load.img'
# transmitting 232 bytes at baudrate 9600.
# Transmission done. Just listening now.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ksum
of file is 0x00004B29
load info.
Unknown type: 0xB0000880

[4]
# transmitting file 'INTERNAL_SER'
# transmitting 6488 bytes at baudrate 9600.
# transmitting file 'BOOT_CMDS'
# transmitting 492 bytes at baudrate 9600.
vice ID = 0x00007F51
otloader was built by root on Thu Jan 22 18:04:49 GMT 2004.
um of bootloader is 0x00090F59
g for load info.
# transmitting file 'load.img'
# transmitting 232 bytes at baudrate 9600.
# Transmission done. Just listening now.

[5]
./e100boot/sbl/e100boot --setreg b0000000 000095f8 \
--setreg b0000004 00000104 --setreg b000000c 00e03636 \
--setreg b0000008 8000c002 --pause 20000 --setreg b0000008 8000c602 \
--setreg b0000008 8000c002 --setreg +0 7 --label label1 \
--setreg b0000008 8000c402 --setreg b0000008 8000c002 \
--loop +0 label1 --setreg b0000008 8060c202 \
--setreg b0000008 8000c002 --setreg b0000008 80008002 \
--setreg b0000030 00001df0 --setreg b0000038 00001ef3 \
--serial --baudrate 9600 --memtest c0000000 c000ffff
Using internal boot loader: INTERNAL_SER - Serial boot.
Starting boot...
# transmitting file 'INTERNAL_SER'
# transmitting 6488 bytes at baudrate 9600.
# transmitting file 'BOOT_CMDS'
# transmitting 492 bytes at baudrate 9600.
evice ID = 0xFFFFBA90
ootloader was built by root on Thu Jan 22 18:04:49 GMT 2004.
sum of bootloader is 0x00090FE5
ng for load info.
# Transmission done. Just listening now.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++