M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
sys.down
do config_scorpion.cmm
sys.mode attach
if state.run()
(
break
)

View File

@@ -0,0 +1,14 @@
#!/bin/sh
PROJECTS="armemu-test sam7ex256-test osk5912-test qemu-arm-test beagle-test surf-test"
FAILED=""
for p in $PROJECTS; do
PROJECT=$p make -j2 || FAILED="$FAILED $p"
done
if [ "$FAILED" != "" ]; then
echo
echo some projects have failed to build:
echo $FAILED
fi

View File

@@ -0,0 +1,16 @@
; MSM7200 ARM11 in JTAG Direct Mode
system.option.TRST ON
system.option.CFLUSH ON
system.option.ResBreak ON
system.option.EnReset ON
system.option.WaitReset ON
system.jtagclock RTCK
sys.cpu arm1136j
system.multicore irpre 0.
system.multicore drpre 0.
system.multicore irpost 0.
system.multicore drpost 0.
sys.mode attach

View File

@@ -0,0 +1,14 @@
system.option.TRST ON
system.option.CFLUSH ON
system.option.ResBreak ON
system.option.EnReset ON
system.option.WaitReset ON
system.jtagclock 5.0mhz
sys.cpu scorpion
system.multicore irpre 0.
system.multicore drpre 0.
system.multicore irpost 0.
system.multicore drpost 0.

View File

@@ -0,0 +1,11 @@
#!/bin/sh
export PROJECT=armemu-test
if [ ! -f blk.bin ]; then
dd if=/dev/zero of=blk.bin bs=1024k count=16
fi
make -j8 -C ../armemu &&
make -j8 &&
(cd build-$PROJECT; ../../armemu/build-generic/armemu)

View File

@@ -0,0 +1,6 @@
#!/bin/sh
export PROJECT=beagle-test
make &&
scp build-beagle-test/lk.bin mbp:/Volumes/FOO/lk.bin

View File

@@ -0,0 +1,6 @@
#!/bin/sh
export PROJECT=osk5912-test
make &&
scp build-osk5912-test/lk.bin four:/tftproot

View File

@@ -0,0 +1,6 @@
#!/bin/sh
export DEBUG=2
export PROJECT=sam7ex256-test
make

View File

@@ -0,0 +1,49 @@
global &KERNEL_SRC
global &KERNEL_ELF
&KERNEL_SRC="../"
sys.down
global &SURF
if ("&SURF"=="7k")
(
&KERNEL_ELF="../build-aboot-surf7k/lk"
do config_a11.cmm
)
else
(
&KERNEL_ELF="../build-aboot-surf8k/lk"
do config_scorpion.cmm
)
sys.mode attach
if state.run()
(
break
)
data.load.ELF &KERNEL_ELF /RELPATH /PATH &KERNEL_SRC
register.set pc 0
register.set r0 0
;register.set r1 &MACHINE_ID
;register.set r2 &TAGS_ADDR
tronchip.set dabort off
tronchip.set pabort off
term.reset
term.size 70 100
term.scroll.on
term
break.select program onchip
break.delete
;break.set platform_early_init
go

View File

@@ -0,0 +1,7 @@
#!/bin/sh
FILES=`find . -type f -regex ".*\.[chS]\|.*\.cpp"`
echo running ctags
exuberant-ctags $FILES