(Cross-posted from
support ticket #35547.)
I'm really sorry, I made a big mistake trying to diagnose this issue: I didn't do a full uninstall/reinstall. I'd forgotten that the packcode symlink was one I made back in December when first trying to figure this issue out before getting distracted by other things.
So, to restate the problem: there is no packcode binary provided in an out-of-box install of the NNDK tools on macOS:
Code: Select all
$ ls -l /Applications/NetBurner/pcbin
total 424
-rwxr-xr-x 1 scoleman admin 18068 6 Apr 2016 MIME_magic.txt
-rwxr-xr-x 1 scoleman admin 14048 6 Apr 2016 bpackcode
-rwxr-xr-x 1 scoleman admin 60668 26 Apr 2016 compcode
-rwxr-xr-x 1 scoleman admin 9008 26 Apr 2016 compfile
-rwxr-xr-x 1 scoleman admin 100764 26 Apr 2016 comphtml
-rwxr-xr-x 1 scoleman admin 31 6 Apr 2016 placeholder
$ find /Applications/NetBurner -type f -name packcode
$
And even the example projects are unbuildable:
Code: Select all
$ cd /Applications/NetBurner/examples/SBL2E/dualserial/
$ make
...
m68k-elf-objcopy -Wl,--gc-sections --strip-all --output-target=srec ./dualserial.elf /Applications/NetBurner/bin/dualserial.s19
packcode /Applications/NetBurner/bin/dualserial.s19 /Applications/NetBurner/bin/dualserial_APP.s19 -R 0xffc04000 0xFFC3C000 -PSBL2E
make: packcode: No such file or directory
make: *** [/Applications/NetBurner/bin/dualserial_APP.s19] Error 1
Hopefully that makes a little more sense. Is there any other diagnostic information I can give?