16 Sep, 2009
10 commits
-
The standard netcat, while ubiquitous, doesn't handle broadcast udp packets
properly. The local ncb util does however. So if ncb can be located in
the standard locations, automatically use that instead.Signed-off-by: Mike Frysinger
-
The netcat utility likes to exit when it receives an empty packet (as it
thinks this means EOF). This can easily occur when working with command
line editing as this behavior will be triggered when using backspace. Or
with tabs and command line completion. So create two netcat processes -
one to only listen (and put it into a loop), and one to do the sending.
Once the user quits the transmitting netcat, the listening one will be
killed automatically.Signed-off-by: Mike Frysinger
-
Needed for (e.g.) ubifs support to work.
Signed-off-by: Simon Kagstrom
-
UBIFS requires fls(), which is not defined for arm (and some other
architectures) and this patch adds it. The implementation is taken from
Linux and is generic. ffs() is also defined for those that miss it.Signed-off-by: Simon Kagstrom
-
Bring over the bitop implementations from the Linux
include/asm-generic/bitops/non-atomic.h to provide
endianness-independence.Signed-off-by: Simon Kagstrom
-
__set_bit and __clear_bit are defined in ubifs.h as well as in
asm/include/bitops.h for some architectures. This patch moves
the generic implementation to include/linux/bitops.h and uses
that unless it's defined by the architecture.Signed-off-by: Simon Kagstrom
-
Clean up the arch/cpu/board/config checks as well as redundant setting of
srec/bin variables by using the kbuild VAR-$(...) style.Signed-off-by: Mike Frysinger
-
To simplify the top level makefile it useful to be able to parse
the top level makefile target to multiple individual target, then
put them to the config.h, leave the board config file to handle
the different targets.Note that this method uses the '_'(underline) as the delimiter when
splits the board make target.Signed-off-by: Mingkai Hu
This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f.
Signed-off-by: Wolfgang Denk
15 Sep, 2009
9 commits
-
Fix warning: ../common/flash.c:917: warning: dereferencing type-punned
pointer will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Stefan Roese
Acked-by: Stefan Roese -
Fix warning: flash.c:919: warning: dereferencing type-punned pointer
will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Stefan Roese
Acked-by: Stefan Roese -
Fix warnings:
flash.c: In function 'write_word_1':
flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules
flash.c: In function 'write_word_2':
flash.c:1044: warning: dereferencing type-punned pointer will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Stefan Roese
Acked-by: Stefan Roese -
Fix build problem caused by commit e84aba13: "Replace BCD2BIN and
BIN2BCD macros with inline functions"phantom.c:163: error: redefinition of 'bcd2bin'
/home/wd/git/u-boot/work/include/bcd.h:16: error: previous definition of 'bcd2bin' was here
phantom.c:168: error: redefinition of 'bin2bcd'
/home/wd/git/u-boot/work/include/bcd.h:21: error: previous definition of 'bin2bcd' was hereSigned-off-by: Wolfgang Denk
Cc: Sangmoon Kim -
Fix warning: ../common/flash.c:668: warning: dereferencing type-punned
pointer will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Andrea Marson -
Fix warning: ide.c:54: warning: dereferencing type-punned pointer will
break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Matthias Fuchs
Cc: Stefan Roese
Acked-by: Stefan Roese -
Fix warning: ../common/flash.c:635: warning: dereferencing type-punned
pointer will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Matthias Fuchs
Cc: Stefan Roese
Acked-by: Matthias Fuchs
Acked-by: Stefan Roese -
Fix warnings:
skge.c: In function 'BoardInitMem':
skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules
skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules
skge.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c: In function 'SkGePortCheckUpXmac':
skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
skrlmt.c: In function 'SkRlmtInit':
skrlmt.c:661: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacPromiscMode':
skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacHashing':
skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacFlushTxFifo':
skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacFlushRxFifo':
skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkXmInitPauseMd':
skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkXmOverflowStatus':
skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Ben Warren -
Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer
will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Ben Warren
14 Sep, 2009
6 commits
-
Signed-off-by: Stephen Neuendorffer
Signed-off-by: Michal Simek -
With Hush parser is possible to change command line in dtb
Signed-off-by: Michal Simek
-
Users should use microblaze-generic platform.
This platform is longer not supported.Signed-off-by: Michal Simek
-
Signed-off-by: Michal Simek
-
If is full malloc area global, data are rewrite because
there was bad size of malloc area.Signed-off-by: Michal Simek
-
Signed-off-by: Michal Simek
11 Sep, 2009
15 commits
-
Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese -
This patch cleans up multiple issues of the 4xx register (mostly
DCR, SDR, CPR, etc) definitions:- Change lower case defines to upper case (plb4_acr -> PLB4_ACR)
- Change the defines to better match the names from the
user's manuals (e.g. cprpllc -> CPR0_PLLC)
- Removal of some unused definesPlease test this patch intensive on your PPC4xx platform. Even though
I tried not to break anything and tested successfully on multiple
4xx AMCC platforms, testing on custom platforms is recommended.Signed-off-by: Stefan Roese
-
Fix warning: bootp.c:695: warning: dereferencing type-punned pointer
will break strict-aliasing rulesSigned-off-by: Wolfgang Denk
Cc: Ben Warren -
Fix this warning when building on 64 bit systems:
tools/kwbimage.c: In function 'kwbimage_checksum32':
tools/kwbimage.c:135: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'Signed-off-by: Wolfgang Denk
Cc: Prafulla Wadaskar -
Signed-off-by: Marcel Ziswiler
Acked-by: Heiko Schocher -
Signed-off-by: Marcel Ziswiler
-
Signed-off-by: Marcel Ziswiler
-
This patch adds support for "kwbimage" (Kirkwood Boot Image)
image types to the mkimage code.For details refer to docs/README.kwbimage
This patch is tested with Sheevaplug board
Signed-off-by: Prafulla Wadaskar
Acked-by: Ron LeeSigned-off-by: Prafulla Wadaskar
-
Signed-off-by: Prafulla Wadaskar
-
- make get_table_entry_id() global
- make get_table_entry_name() global
- move struct table_entry to image.hCurrently this code is used by image.c only.
This patch makes this API global so it can be used by other parts of
code, too.Signed-off-by: Prafulla Wadaskar
Acked-by: Ron LeeEdit comments and commit message.
Signed-off-by: Wolfgang Denk
-
Currently it is used by image.c only, but the the function can be
used to support additional mkimage types like for example kwbimage,
so make this function globally visible.Signed-off-by: Prafulla Wadaskar
Edited commit message.
Signed-off-by: Wolfgang Denk
-
Include default_image.o and fit_image.o into the build dependency
calculations. This makes sure they get rebuilt if any of the headers
they include are modifiedSigned-off-by: Prafulla Wadaskar
Acked-by: Ron LeeEdited commit message.
Signed-off-by: Wolfgang Denk
-
This fixes some compiler warnings:
tools/default_image.c:141: warning: initialization from incompatible pointer type
tools/fit_image.c:202: warning: initialization from incompatible pointer type
and changes to code to use "const" attributes in a few places where
it's appropriate.Signed-off-by: Wolfgang Denk
-
This is a first step towards reorganizing the mkimage code to make it
easier to add support for additional images types. Current mkimage
code is specific to generating uImage and FIT image files, but the
same framework can be used to generate other image types like
Kirkwood boot images (kwbimage-TBD). For this, the mkimage code gets
reworked:Here is the brief plan for the same:-
a) Split mkimage code into core and image specific support
b) Implement callback functions for image specific code
c) Move image type specific code to respective C files
Currently there are two types of file generation/list
supported (i.e uImage, FIT), the code is abstracted from
mkimage.c/.h and put in default_image.c and fit_image.c;
all code in these file is static except init function call
d) mkimage_register API is added to add new image type support
All above is addressed in this patch
e) Add kwbimage type support to this new framework (TBD)
This will be implemented in a following commit.Signed-off-by: Prafulla Wadaskar
Edit commit message, fix coding style and typos.
Signed-off-by: Wolfgang Denk -
uninitialized retval variable warning fixed
crc32 APIs moved to crc.h (newly added) and build warnings fixedSigned-off-by: Prafulla Wadaskar
Signed-off-by: Wolfgang Denk