1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-23 03:02:47 +02:00
Commit Graph

494 Commits

Author SHA1 Message Date
Werner Almesberger
0a58e0533d fisl2011/: don't declare a sole objective for M1; fixed dependencies 2011-06-29 07:31:12 -03:00
Werner Almesberger
a94acb59b8 fisl2011/: more cleanup 2011-06-28 20:33:57 -03:00
root
354ac92a87 fisl2011/: more updates; merged BOM into misc slide; added workflow 2011-06-28 18:57:25 -03:00
Werner Almesberger
3f8abd4603 fisl2011/Makefile: added printing 2011-06-28 07:25:12 -03:00
Werner Almesberger
d627b26625 fisl2011/: added product photos 2011-06-28 06:25:39 -03:00
Werner Almesberger
b5f61138ba added openness schievements; more small updates 2011-06-28 05:46:49 -03:00
Werner Almesberger
6806d656f4 fisl2011/: added atusb-front.png, in-progress draft of talk 2011-06-28 04:49:50 -03:00
Werner Almesberger
924bb95ebf fisl2011/: some screen shots for the talk 2011-06-28 01:17:31 -03:00
Werner Almesberger
0ee7503dc7 ub: updated to handle dynamically allocated SPI bus numbers 2011-06-26 19:37:31 -03:00
Werner Almesberger
8ccfd2b257 tp/: map of test points on the Ben (battery area for now)
See http://downloads.qi-hardware.com/people/werner/tmp/tp-map-ba.png
2011-06-08 19:36:07 -03:00
Werner Almesberger
6aace957ff bin/ben, bin/jlime: helper scripts for network setup and SSH login 2011-05-24 10:36:04 -03:00
Werner Almesberger
387e6dd094 bin/fk: little helper script to flash the kernel via SSH or usbboot 2011-05-24 10:34:19 -03:00
Werner Almesberger
5ae2c4677f mlt/wpan-ipv4/: demo setup and editing process for the wpan-ipv4 video 2011-05-15 02:57:49 -03:00
Werner Almesberger
311ce9db37 ub: a little script that makes the kernel not touch the 8:10 card slot 2011-04-12 20:01:52 -03:00
Werner Almesberger
3b04bf0037 f10/Makefile (brd): funny, the "brd" target never worked 2011-04-10 21:18:31 -03:00
Werner Almesberger
3b2b9166d9 mknnk, nnui: kernel build scripts
- mknnk: invoke "make" for making a NanoNote kernel
- nnui: make an uImage for the NanoNote
2011-03-25 20:19:51 -03:00
Werner Almesberger
c481702b70 hacks/brdclw: change (silk screen) line width in a component 2011-03-22 04:06:18 -03:00
Werner Almesberger
3d61f78fe7 BOOKSHELF.ingenic: partially resurrected for it's merely in the twilight
... where Ingenic desire us to dwell. Also updated for minor name change.
2011-03-18 12:52:55 -03:00
Werner Almesberger
88e0f8212f BOOKSHELF.ingenic: removed for Ingenic prefer to leave developers in the dark 2011-03-16 11:31:30 -03:00
Werner Almesberger
68e84b310e BOOKSHELF.ingenic: Jz4720/Jz4740/Jz4760 manuals 2011-03-07 14:26:24 -03:00
Werner Almesberger
e6f62bc71d sal/: primitive USRP2-based spectrum analyzer 2011-03-02 21:05:00 -03:00
Werner Almesberger
ae3c89c68e zprobe: swap D1 and R1, so that we don't try to route under the LED 2011-02-12 13:29:09 -03:00
Werner Almesberger
59901f52c5 zprobe: improvised digital high-Z probe
- zprobe.pro, zprobe.sch, zprobe.cmp, zprobe.brd: Z-probe design
- 74hc04-3.lib: schematics symbol for triple 7404-style inverter
- ssop8-p-0_50a.fpd: footprint for Toshiba TC7W04FK
- Makefile: combined design automation and module conversion
2011-02-12 10:27:03 -03:00
Werner Almesberger
4a04cdc51e libbb/libbbd.c (main): open /dev/mem with O_SYNC to disable caching 2011-01-03 18:52:49 -03:00
Werner Almesberger
3427d691e3 f10/: seasonal fun project - distribute current to ten ignitors (2 x 22 R) 2010-12-23 18:15:45 -03:00
Werner Almesberger
4952157fc4 bin/qippl: log into www-data@downloads.qi-hardware.com or scp files 2010-12-19 21:25:22 -03:00
Werner Almesberger
9a3f873f7d bin/purge: revert KiCad .pro files in which only the timestamp changed 2010-12-18 05:34:32 -03:00
Werner Almesberger
2c4e3ebd96 vialtray/tray.pl: y size is 93 mm, not 90; adjust y offset accordingly 2010-11-29 01:01:52 -03:00
Werner Almesberger
1d24b2e52a vialtray: more parameter adjustments
- tray.pl (zf): lower floor by another mm, leaving 3-4 mm of material
- tray.pl (vd): increase vial diameter by 0.1 mm to allow for vial
  tolerance and material expansion. Also, working from the inside to the
  outside (instead of plunging into uncut material first) decreased the
  hole radius slightly.
- tray.pl (do_cols, do_circles): removed exclusion of the first column

  radius after vial
  tolerance,
2010-11-28 01:18:24 -03:00
Werner Almesberger
649e00b28e vialtray: ready for first test run (on-going)
- doit (GEN): corrected name of toolpath generator
- doit (rdata): fixed typo ("rdate" vs. "rdata")
- doit (Z): set Z depth here, to avoid manual depth adjustment
- doit: don't use cameo - we compensate for the tool size in tray.pl
- doit: increased feed rate from 2 mm/s to 4 mm/s
- doit: clearance is above top layer, so 5 mm are more than enough
- tray.pl (zf): increase floor depth from very conservative 15 mm to
  17 mm
- tray.pl (zs): increase depth step from 2 mm to 2.5 mm to accelerate
  milling
- tray.pl (mw): increase wall thickness from 2 mm to 2.5 mm in order to
  enlarge gap between sides (was smaller than tool diameter)
- tray.pl (r1): stop 2 steps before the edge, since we have the outline
  as another radius-like step
- tray.pl (do_col): account for tool radius
- tray.pl (do_circles): lift the tool after each disc, not only after
  each column
- tray.pl (do_cols, do_circles): temporarily skip 1st column
- tray.pl (main): do circles before the outline, to reduce chatter when
  cutting the outline
- tray.pl (main): since we're no longer using "cameo" here, don't print
  directives for it
2010-11-27 22:41:45 -03:00
Werner Almesberger
458702cf54 libbb: library for bit-banging the Ben's uSD port (in progress)
This doesn't work with old kernels, but 2.6.36 should be better. Haven't
tried it yet, though.
2010-11-27 20:21:33 -03:00
Werner Almesberger
1d72af733e vialtray: make a tray for vials containing 0402/0603 components (in progress)
This doesn't work yet. In particular, going through "cameo" doesn't seem
the most convenient choice, since "cameo" requires paths to be closed,
which is something the paths we use here aren't. (Conceptually, thet are
closed, but the implementation skips some small segments.)

This commit is just a snapshot before I experiment with changing the
algorithm.
2010-11-27 20:17:25 -03:00
Werner Almesberger
6a3e471304 qpkg: added some field names and relational operators from Ubuntu
- gobble.c (gobble_buf): recognize (and ignore) the following fields:
  Bugs, Installed-Size, MD5sum, Origin, Original-Maintainer, SHA1, SHA256,
  Task.
- pkg.h (enum relop): added comments showing the respective symbol
- pkg.h (enum relop): added rel_gg (>>), rel_le (<=), and rel_ll (<<)
- gobble.c (gobble_buf): recognize >>, <=, and <<
- TODO: record progress in support beyond Jlime/OE
2010-11-22 22:48:28 -03:00
Werner Almesberger
ab5df0a8d8 qpkg/test/bug-adding: found another manifestation of the same problem
This time, we even fail an assertion. Once again, it's because the state
changes are out of sync with the "under consideration" stack.
2010-11-22 21:49:50 -03:00
Werner Almesberger
068264ed61 qpkg: light cleanup of prereq.c:resolve and change forgotten in last commit
- prereq.c (resolve): do not consider installing virtual packages
  (forgotten in previous commit)
- prereq.c (resolve): renamed "next_dep" to "next_deps" to emphasize that
  this is a list
- prereq.c (resolve): use "break" instead of "return" to abandon a
  non-optimal path, so that we'll run future cleanup code
- prereq.c (resolve): fixed typos in explanation of QPKG_ADDING cleanup
- prereq.c (resolve): reference test/bug-adding in explanation
2010-11-22 21:18:33 -03:00
Werner Almesberger
c95d064f9e qpkg/TODO: some open policy questions (cyclic dependencies and use of Provides) 2010-11-22 20:27:49 -03:00
Werner Almesberger
9d208dd855 qpkg: added parsing and recording of Provides data
- pkg.h (enum flags): new flags QPKG_PROVIDED to indicate that the
  package is only a provision, not an installable package
- fixup.h, fixup.c (complete_provisions): search for provisions that do
  not have a real package associated with them, create a package for
  them, and mark it as QPKG_PROVIDED
- qpkg.c (do_fixups): invoke complete_provisions
- pkg.h (struct pkg): add list of (virtual or real) packages a given
  package provides
- pkg.c (new_pkg): initialize pkg->provides
- pkg.c (free_pkg): deallocate pkg->provides
- gobble.c (gobble_buf): parse the list of packages a package provides
- TODO: updated status of Provides support
2010-11-22 19:30:09 -03:00
Werner Almesberger
bbf9c42bc8 qpkg: move "struct pkg" and its allocation from gobble.c and qpkg.h to pkg.[hc]
- Makefile (OBJS_qpkg): added pkg.o
- gobble.c (gobble_buf): moved "struct pkg" allocation to function new_pkg
  in pkg.c
- qpkg.h: moved "struct pkg" and subordinate structures to pkg.h
- pkg.h, pkg.c (new_pkg, free_pkg): provide package structure definition,
  allocation, and deallocation
- fixup.c, gobble.c, prereq.c, qpkg.c: include "pkg.h"
- gobble.c (finish_pkg): use free_pkg instead of just "free" to avoid
  leaking memory
2010-11-22 16:19:32 -03:00
Werner Almesberger
8d453d77c2 qpkg: test for the QPKG_ADDING leakage bug
- test/bug-adding: test if we get a false cyclic dependency because
  QPKG_ADDING isn't properly removed
- TODO: mention the problem
2010-11-22 09:28:34 -03:00
Werner Almesberger
b89bcdfd93 qpkg: also consider conflicts introduced by package about to be added
- prereq.c (conflicts, resolve, prereq): renamed "conflicts" to
  "old_conflicts"
- prereq.c (new_conflicts, resolve, prereq): also test whether any of the
  conflicts of the package we're about to add matches an installed or
  considered package
- test/conflict, test/instconf: test for conflicts introduced by package
  about to be added
2010-11-22 06:52:53 -03:00
Werner Almesberger
c44510ade1 qpkg: detect conflicts with installed packages
- prereq.c (installed_conflicts, free_conflicts, prereq): collect list of
  pre-existing conflicts in installed packages
- prereq.c (prereq): check if package being requested already conflicts
- test/instconf: regression test for conflicts with installed packages
- TODO: updated for full support of conflicts. Mention that we're not
  terribly efficient with handling conflicts.
2010-11-21 23:59:27 -03:00
Werner Almesberger
be31904f5d qpkg: adding handling of conflicts (in progress)
- prereq.c (conflicts): detect conflicts
- prereq.c (prereq): pass list of conflicts of initial package
- test/conflict: regression test for basic conflict handling
- TODO: updated for partial implementation of conflicts
2010-11-21 23:24:44 -03:00
Werner Almesberger
b181db5b9e qpkg: regression test for version preference
- test/verpref: test version preference (higher wins if there's a choice)
- TODO: updated for above change
2010-11-21 23:02:10 -03:00
Werner Almesberger
c05e6d5dbb qpkg: sort package version list such that highest comes first
- Makefile (OBJS_qpkg): added fixup.o
- fixup.h, fixup.c (sort_versions): sort package versions
- qpkg.c (do_fixups, main): do fixups when done gobbling
- qpkg.h: need to include id.h to be self-contained
- test/sortver: test version sorting
2010-11-21 22:57:35 -03:00
Werner Almesberger
b0c29c4d7a qpkg: improve "qpkg ... list"
- qpkg.c (list_all_packages): jrb indicates end-of-tree with pointer to
  jrb_nil(), not NULL
- qpkg.c (list_all_packages, list_one_package): use ID2PF
- qpkg.c (list_all_packages): iterate over versions
2010-11-21 22:50:42 -03:00
Werner Almesberger
dd8bb6eecd qpkg: moved comp_versions from prereq.c to id.c
- id.c: added section titles
- prereq.c (comp_versions), id.h, id.c: moved comp_versions from prereq.c
  to id.c, to allow sharing with other code
2010-11-21 21:14:04 -03:00
Werner Almesberger
a0c0e854cc qpkg: option -d to enable debugging at run time, and some cleanup
- prereq.c: added section titles
- prereq.c (debug), qpkg.h, qpkg.c: made variable "debug" global and moved
  it to qpkg.c
- qpkg.c (usage, main): new option -d to enable debugging
2010-11-21 20:55:25 -03:00
Werner Almesberger
e1404bb6a2 qpkg/prereq.c (print_debug, resolve): moved debug output to separate function 2010-11-21 20:48:24 -03:00
Werner Almesberger
0bc4b6046b qpkg: added detection of cyclic dependencies
We define a cyclic dependency as the possibility (!) of the prerequisites
of a package X including a package that depends on X, and issue an error
if encountering such a situation.

Note that, if the dependencies of X can be resolved in a manner that does
not include the cyclic dependency, qpkg will still fail if it encounters
the cycle. Also note that qpkg (at least so far) does no perform an
exhaustive search to ferret out cyclic dependencies.

Furthermore, we don't consider that a cyclic dependency may not necessarily
imply a real life problem. E.g., if a package A contains elements X and
Y, with X needing package B, and the content of package B has a run-time
dependency on Y, the cyclic dependency between A and B would not exist
when considering its constituents. Since we don't have this information, we
just err on the side of caution.

- qpkg.h (enum flags): divide flags into categories (parse-time and
  run-time) and add flag QPKG_ADDING to mark packets whose dependencies we
  are processing
- prereq.c (resolve, prereq): track which packages we're tentatively
  considering for installation and detect cyclic dependencies
- test/cyclic: regression test for detection of cyclic dependencies
- TODO: updated with recent changes
2010-11-21 20:31:20 -03:00
Werner Almesberger
0229051f07 qpkg: change prerequisite resolution order to be fully depth-first
Until now, when considering adding a package, we processed its
dependencies after completing the current list of dependencies. E.g.,
if we had a package A that depended on B and C, B depended on D, and C
depended on E, then the sequence would have been A, B, C, ...

We now process the dependencies of a package immediately after
considering the package, so the sequence above would become A, B, D,
C, ...

The advantage of the new order is that it becomes easier to follow the
dependency tree, which will be beneficial for loop detection and for
ordering packages by installation order.

- prereq.c (resolve): change prerequisite resolution order such that the
  dependencies of the package being considered are processed immediately,
  instead of deferring them until the end of the current dependency list
- prereq.c (prereq): we can now pass the list of dependencies directly,
  without needing a list of lists element
- test/resorder: test resolution order
2010-11-21 17:34:17 -03:00