Commit graph

  • f7374f60eb Don't generate the mem-reserve entry for the blob itself, even for ASM output. It was inconsistent with the binary output form, and kernel folks decided to have the early kernel perform the reservation itself. Jon Loeliger 2006-04-19 11:34:22 -05:00
  • 7a9f663ac7 The problem is that asm_emit_cell() was swapping its asm output when it shouldn't be (because the assembler will do the necessary swapping). The cell values (asm_emit_cell()) are different from the data values (asm_emit_data()) because the cell values are generated within the program and don't get swapped like the data values read from the dts file. They should be left as they are so that the assembler will swap them, if necessary. For example, when the property length field was 4, the asm output contained ".long 0x4000000" and sent the kernel prom.c dt parsing code into the weeds. Mark A. Greer 2006-03-15 18:59:24 -07:00
  • f5aa792d81 Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by way of some more documentation. dwg-last David Gibson 2006-01-31 16:17:59 +11:00
  • f192a7ae0b [PATCH] dtc: Update flat OF doc for new mdio properties Becky Bruce 2006-01-10 13:16:28 -06:00
  • 986c272d66 Added document describing flattened tree format and what properties / nodes the kernel needs. Written by BenH and Becky Bruce. David Gibson 2005-12-06 15:22:36 +11:00
  • 1ae70562f0 Remove no longer used (and already commented) reserve_data field from boot_info. David Gibson 2005-10-26 16:57:40 +10:00
  • 712e52e438 Use names for output functions in the form dt_to_*() instead of write_dt_*() for consistency with the dt_from_*() input functions. David Gibson 2005-10-26 16:56:26 +10:00
  • f040d95b84 Rework tracking of reserve entries during processing. This is initial work to allow more powerful handling of reserve entries. David Gibson 2005-10-24 18:18:38 +10:00
  • fccb194a14 Add a second cpu and a timebase frequency to test.dts. David Gibson 2005-10-24 17:27:36 +10:00
  • 8f1bc85611 Add a .gitignore file. David Gibson 2005-10-21 17:28:42 +10:00
  • 740a19a819 Alter add_property() and add_child() functiosn to add to the end of their respective linked lists. This means we no longer reverse the order or properties and subnodes when in blob or fs input modes. David Gibson 2005-10-21 17:26:45 +10:00
  • cba839c728 Reduce message about too-long property names to a mere warning, it causes too much trouble. Still need to fix up error handling in general. David Gibson 2005-10-20 13:56:23 +10:00
  • 1847d161dc Update TODO David Gibson 2005-10-19 16:29:52 +10:00
  • 86dbcbd1e4 Rudimentary support for reporting the line number of syntax errors. David Gibson 2005-10-19 16:00:31 +10:00
  • b4ac04952a Oops avoid using case range gcc extension. David Gibson 2005-10-17 10:27:45 +10:00
  • 93c82174ea Use C99 fixed width integer type names in libdt. David Gibson 2005-10-17 10:27:27 +10:00
  • c6d036eaec Oops, use strtoul() instead of strtol() in dtc-lexer.l, so that we correctly handle cell values above 7fffffff. Bug pointed out by Kumar Gala. David Gibson 2005-10-14 11:59:23 +10:00
  • b2543fc875 Add ftdump utility, contributed by Pantelis Antoniou. David Gibson 2005-08-29 14:58:27 +10:00
  • 6c0f36769a Fix endian problems with handling of memreserve entries (bug pointed out by Pantelis Antoniou). The rule is that the memreserve data in struct boot_info is always stored big-endian. David Gibson 2005-08-29 13:36:15 +10:00
  • 230f253e9b Remove an unused function, mark a bunch of other functions and variables as static. Mostly found by sparse. David Gibson 2005-08-29 12:48:02 +10:00
  • 41916138dd Forgot to realign after emitting auto-generated "name" properties. Oops. David Gibson 2005-08-25 15:39:09 +10:00
  • dffc2a8972 Add a couple of missing cpu_to_be32() writing the version numbers out. David Gibson 2005-08-25 14:47:20 +10:00
  • 4ddf7c020c In flat tree reading, check for (negative) string offsets which underrun the input blob. (Patch from Michael Ellerman). David Gibson 2005-08-19 16:11:11 +10:00
  • 7f6d12b3a1 Remove unused enum from dtc.h. David Gibson 2005-07-15 17:20:34 +10:00
  • f0517db250 Support for specifying memreserve ranges in the source format, based on a patch by Jon Loeliger <jdl AT freescale.com>, although tweaked substantially. David Gibson 2005-07-15 17:14:24 +10:00
  • 586606e35d Oops, fix stupid bug where we emitted padding before, rather than after the blob header. David Gibson 2005-07-14 11:27:24 +10:00
  • 47f23dee09 Ensure that the reserve map is doubleword aligned in blob and asm output. David Gibson 2005-07-11 17:19:26 +10:00
  • a6c69572a3 Remove inaccurate comment. David Gibson 2005-07-11 17:09:42 +10:00
  • 03a9b9dcdc Use u8 instead of uint8_t, as we do with the other size types. David Gibson 2005-07-11 16:49:52 +10:00
  • 7ee3ffd43f Fix bug in error message. David Gibson 2005-07-11 16:45:57 +10:00
  • 1cb934b3aa Add automatic dependency generation. David Gibson 2005-07-11 16:29:25 +10:00
  • 5a446b0cd8 Add flex option to stop warning about unused yyunput(). David Gibson 2005-07-11 13:53:13 +10:00
  • c5c437e25b Oops. Using %{ %} in the rules (rather than definitions) section of a lex file has undefined behaviour. In fact it ends up including the stuff within the definition of the yylex() function, leading to strange warnings on gcc-3.4 and compile errors with gcc 4. David Gibson 2005-07-04 13:53:14 +10:00
  • 363f1ea846 Add missing file. David Gibson 2005-07-04 13:51:09 +10:00
  • ab870cadb4 First cut at a "libdt" set of routines for extracting things from the flattened tree. Could be used in firmware. David Gibson 2005-06-23 15:45:13 +10:00
  • 9ad4587c90 Remove build_empty_property(). It wasn't useful. David Gibson 2005-06-17 14:32:32 +10:00
  • 81f2e89c75 Rudimentary phandle reference support. David Gibson 2005-06-16 17:04:00 +10:00
  • 4102d840d9 Initial label support. Also switch to glr-parser mode and get rid of hacks that were necessary without it. David Gibson 2005-06-16 14:36:37 +10:00
  • fc14dad769 Initial commit David Gibson 2005-06-08 17:18:34 +10:00