[Buildroot] [PATCH 1/2] cramfs: change to new site location

Matthew Weber matthew.weber at rockwellcollins.com
Thu Apr 5 19:07:28 UTC 2018


All,

On Tue, Feb 13, 2018 at 2:24 PM, Chris Brandt <Chris.Brandt at renesas.com> wrote:
>
> On Tuesday, February 13, 2018, Thomas Petassoni wrote:
> > Do you know how endianess if handled by cramfs with the more recent
> > version of the cramfs tools ?
>
> All I can tell you is that there is not a command line option for it.
> So, I assume it's not supported.
>
>
> $ output/build/host-cramfs-5aea81001ac6/mkcramfs
> usage: output/build/host-cramfs-5aea81001ac6/mkcramfs [-h] [-e edition] [-i file] [-n name] [-D file] dirname outfile
>  -h         print this help
>  -E         make all warnings errors (non-zero exit status)
>  -e edition set edition number (part of fsid)
>  -i file    insert a file image into the filesystem (requires >= 2.4.0)
>  -n name    set name of cramfs filesystem
>  -p         pad by 512 bytes for boot code
>  -s         sort directory entries (old option, ignored)
>  -v         be more verbose
>  -x         use extended block pointers (requires >= 4.15)
>  -X         allow XIP of ELF files (imply -x)
>  -z         make explicit holes (requires >= 2.3.39)
>  -D         Use the named FILE as a device table file
>  -q         squash permissions (make everything owned by root)
>  dirname    root of the filesystem to be compressed
>  outfile    output file
>
>
>
> I don't have any big endian systems, so I can't test it either.
>
> But, Nicolas said that if someone is willing to test it and sign off on
> it, he would add it to his repository.

Hi, I ran into a bug in the existing buildroot cramfs fs support for
big endian and Thomas pointed me at this patchset.  I've
updated/tested my local build with your patches and included the big
endian fix.

Feel free to pull this patch into your patchset (or hopefully upstream
merges first :-) )
https://patchwork.ozlabs.org/patch/895499/

Upstream of an updated big endian support patch
https://github.com/npitre/cramfs-tools/pull/1

Tested-by: Matt Weber <matthew.weber at rockwellcollins.com>


More information about the buildroot mailing list