numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 464 forks source link

Trouble while building userland for n0120 #2247

Open Spectralo opened 6 days ago

Spectralo commented 6 days ago

Hey ! I have a little problem. I followed instructions on this page but it doesnt work (its probably made for n0120) I use this code to compile and send it to my calculator:

# Clean previous build
make clean MODEL=N0120 TARGET=device.n0120

if python3 build/device/dfu.py -l | grep -q '0x90000000'; then
    make userland.A.dfu
    python3 build/device/dfu.py -s 0x90010000:leave -D output/release/device/n0110/userland/userland.A.dfu
else
    make userland.B.dfu
    python3 build/device/dfu.py -s 0x90410000:leave -D output/release/device/n0110/userland/userland.B.dfu
fi

But it doesnt work and after flashing says "Official upgrade required" I think its because it actually builds for N0110 ? (Builds are in /output/release/device/n0110 and not /n0120 :/ I also bumped the version in config.mak to 23.2.6 (My calculator is on 23.2.5) What am I doing wrong ? Thanks.

Spectralo commented 1 day ago

...