Commit Graph

5 Commits

Author SHA1 Message Date
Vincent Li
8a0ca16bae Loongarch64: initial change for tool chain build
1. add loongarch64 in make.sh

2. updated many source tar balls with config.guss
   and config.sub with loongarch64 support

3. remove rust and surricata for now

4. workaround binary env dynamic linker missing
   by symbolic link tools_loongarch64/lib to lib64
   when ./make.sh build

   cd build_loongarch64; ln -s tools_loongarch64/lib lib64

./make.sh toolchain to build tool chain
./make clean to start fresh
./make.sh gettoolchain to extract tool chaina from cache
./make.sh build to build software and image

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2024-12-15 09:09:28 -08:00
Adolf Belka
cca1ef9a56 exfatprogs: Update to version 1.2.5
- Update from version 1.1.3 to 1.2.5
- Update of rootfile
- Changelog
    1.2.5
	CHANGES :
	 * exfatprogs: remove the limitation that the device
	   path length cannot exceed 254 bytes.
	 * exfatprogs: include the test images in the release
	   package.
	NEW FEATURES :
	 * fsck.exfat: check and repair the filename which has
	   invalid characters.
	BUG FIXES :
	 * tune.exfat: check whether the volume has invalid
	   characters correctly.
	 * fsck.exfat: check whether the filename and volume
	   has invalid characters correctly.
	 * fsck.exfat: fix endianess issues which happen
	   in the big-endian system.
    1.2.4
	BUG FIXES :
	 * tune.exfat: Fix "invalid serial number" error when
	   setting an serial number.
	 * fsck.exfat: Fix memory leak in an error path
    1.2.3
	CHANGES :
	 * dump.exfat: Report sector size in bytes and cluster size in
	   terms of sectors.
	 * fsck.exfat: Show checksum value if the SetChecksum of File
	   directory entry is invalid.
	 * mkfs.exfat: Improve FAT length calculation to reduce
	   the FAT size.
	NEW FEATURES :
	 * mkfs.exfat: Add the option "--sector-size".
	 * fsck.exfat: Support checking and repairing VendorAllcation and
	   VendorExtension directory entries.
	BUG FIXES :
	 * exfatprogs: Remove unnecessary memory allocations.
	 * fsck.exfat: Fix corruption that can occur if the cluster size
	   is 512-byte.
	 * fsck.exfat: Fix the SecondaryCount of File directory entry
	   when the count of Name directory entries is 17 or higher.
	 * tune.exfat: Fix an error that accepts invalid serial numbers.
    1.2.2
	CHANGES :
	 * exfat2img: Allow dumps for read-only devices.
	 * fsck.exfat: Revert Repairing zero size directory.
	NEW FEATURES :
	 * fsck.exfat: Repair duplicated filename.
	 * mkfs.exfat: Add the option "q" to print only error messages.
	 * mkfs.exfat: Add the option "U" to set volume GUID.
	 * tune.exfat: Add the option "U" / "-u" to set or print volume GUID.
	BUG FIXES:
	 * fsck.exfat: Fix some out-of-bounds memory accesses.
	 * fsck.exfat: Change not to delete volume GUID directory entry.
    1.2.1
	CHANGES :
	 * fsck.exfat: Repair zero size directory.
	 * fsck.exfat: Four small clean-ups.
    1.2.0
	CHANGES :
	 * fsck.exfat: Keep traveling files even if there is a corrupted
	   directory entry set.
	 * fsck.exfat: Introduce the option "b" to recover a boot sector even
	   if an exFAT filesystem is not found.
	 * fsck.exfat: Introduce the option "s" to create files in
	   "/LOST+FOUND", which have clusters allocated but was not belonged to
	   any files.
	 * fsck.exfat: Rename '.' and '..' entry name to the one user want.
	NEW FEATURES :
	 * fsck.exfat: Repair corruptions of an exFAT filesystem. Please refer
	   to fsck.exfat manpage to see what kind of corruptions can be repaired.
	 * exfat2img: Dump metadata of an exFAT filesystem. Please refer to
	   exfat2img manpage to see how to use it.
	BUG FIXES:
	 * fsck.exfat: Fix an infinite loop while traveling files.
	 * tune.exfat: Fix bitmap entry corruption when adding new volume lablel.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-14 09:08:29 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Adolf Belka
1c3768e3a6 exfatprogs: Update to version 1.1.3
- Update from 1.1.2 to 1.1.3
- Update of rootfile not required
- Changelog
   Version 1.1.3 - released 2021-11-11
     CHANGES :
      * mkfs.exfat: ensure that the cluster size is greater than or
        equal than the sector size.
      * mkfs.exfat: replace lseek() + write() with pwrite().
     BUG FIXES :
      * mkfs.exfat: prevent an integer overflow when computing the FAT
        length.
      * fsck.exfat: fix a double free memory error.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 22:28:43 +01:00
Adolf Belka
574690dc00 exfatprogs: Provide package to work with exfat formats
- Create lfs and rootfile
- Add exfatprogs to make.sh
- exfat is supported as a native kernel module since kernel 5.7
- This package requires CONFIG_EXFAT_FS=m to be set for the kernel module for each
   architecture that will be supported. Currently that is only i586

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:14:51 +00:00