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