|
@@ -111,16 +111,17 @@ compiling()
|
|
|
data2c bootk8cpu_out boot$CONF.all.out >> k8cpu.root.c
|
|
|
|
|
|
# We haven't these for now. Must be concatenated text+data as with boot$CONF.elf.out.
|
|
|
+ # You need to run BUILDKFACTOTUM into /sys/src/cmd/auth/factotum
|
|
|
+ # in order to have working this.
|
|
|
|
|
|
- #cp /amd64/bin/auth/factotum factotum
|
|
|
- #objcopy -j .text -O binary factotum.elf.out factotum.code.out
|
|
|
- #objcopy -j .data -O binary factotum.elf.out factotum.data.out
|
|
|
- #file factotum*.out
|
|
|
- #cat factotum.code.out factotum.data.out >> factotum.all.out
|
|
|
- #data2c _amd64_bin_auth_factotum factotum.all.out >> k8cpu.root.c
|
|
|
+ objcopy -j .text -O binary /sys/src/cmd/auth/factotum/factotum.elf.out factotum.code.out
|
|
|
+ objcopy -j .data -O binary /sys/src/cmd/auth/factotum/factotum.elf.out factotum.data.out
|
|
|
+ file factotum*.out
|
|
|
+ cat factotum.code.out factotum.data.out >> factotum.all.out
|
|
|
+ data2c _amd64_bin_auth_factotum factotum.all.out >> k8cpu.root.c
|
|
|
|
|
|
- #cp /amd64/bin/ip/ipconfig ipconfig
|
|
|
- #objcopy -j .text -O binary ipconfig.elf.out ipconfig.code.out
|
|
|
+ #cp /amd64/bin/ip/ipconfig ipconfig
|
|
|
+ #objcopy -j .text -O binary ipconfig.elf.out ipconfig.code.out
|
|
|
#objcopy -j .data -O binary ipconfig.elf.out ipconfig.data.out
|
|
|
#file ipconfig*.out
|
|
|
#cat ipconfig.code.out ipconfig.data.out >> ipconfig.all.out
|