1
2global &KERNEL_SRC
3global &KERNEL_ELF
4
5&KERNEL_SRC="../"
6&KERNEL_ELF="../build-aboot-surf8k/lk"
7
8sys.down
9
10do config_scorpion.cmm
11
12sys.mode attach
13
14if state.run()
15(
16  break
17)
18
19data.load.ELF &KERNEL_ELF /RELPATH /PATH &KERNEL_SRC
20
21register.set pc 0
22register.set r0 0
23;register.set r1 &MACHINE_ID
24;register.set r2 &TAGS_ADDR
25
26;tronchip.set dabort off
27;tronchip.set pabort off
28
29term.reset
30term.size 70 100
31term.scroll.on
32term
33
34break.select program onchip
35break.delete
36;break.set platform_early_init
37
38go
39
40