[U-Boot] [PATCH 0/8]: Fixes for ubifs build on ARM

Simon Kagstrom simon.kagstrom at netinsight.net
Tue Jul 7 15:55:10 CEST 2009


Hello!

This series of patches corrects some of the issues I've had with
building and using the ubifs support on ARM (and some general things).
In summary:

- move __set_bit and __clear_bit to bitops.h (was defined in ubifs.h)
- define fls for all architectures (and ffs where it was missing)
- unaligned.h was missing for ARM, add it
- use do_div from div64.h for vsprintf (avoid __udivdi3)
- use lldiv in ubifs (again to avoid __udivdi3 references)
- handle VID header offset in the ubi part command
- proper argument checking in ubifsmount

I've built and tested it on ARM (OpenRD base), but some of the patches
also affect other architectures, so please look this through!

// Simon


More information about the U-Boot mailing list