Root/m1/tools/README

Source at commit ba5a392555fd70c6f668f0d9750791f9b35eb179 created 8 years 23 days ago.
By Werner Almesberger, m1/tools/README: m1nor description
1m1nor - Flash a file to M1 NOR partition selected by the file name
2==================================================================
3
4During software development, one often need to update only the
5content of a single partition. reflash_m1.sh is a bit unwieldy
6for this kind of task.
7
8I've written a small script called m1nor that selects the target
9partition based on the file name. E.g., m1nor flickernoise.fbi
10would update the regular Flickernoise partition.
11
12The matching algorithm checks the beginning of the file name,
13so names like flickernoise-test.fbi would also work. Furthermore,
14it checks the file extension, so if you try to flash flickernoise
15(ELF, for debugging) or flickernoise.bin (an intermediate form
16unsuitable for booting from NOR), it will politely refuse to do
17so.
18
19You need to have fjmem.bit somwehere. It searches for it under
20$HOME/.qi/milkymist/, where reflash_m1.sh caches it. You can also
21specify the location directly by setting the environment variable
22FJMEM_BIT.
23

Archive Download this file

Branches:
master



interactive