Annotation of wikisrc/projects/project/u-boot-ffs.mdwn, revision 1.7

1.1       wiki        1: [[!template id=project
                      2: 
                      3: title="Add FFS support to U-Boot"
                      4: 
                      5: contact="""
                      6: [port-arm](mailto:port-arm@NetBSD.org)
                      7: """
                      8: 
                      9: mentors="""
                     10: [Jared McNeill](mailto:port-arm@NetBSD.org)
                     11: """
                     12: 
                     13: category="kernel"
                     14: difficulty="easy"
                     15: duration="3 months"
1.7     ! maya       16: done_by="berte"
1.1       wiki       17: 
                     18: description="""
                     19: 
                     20: Add support for reading files from a BSD Fast File System from within U-Boot. Typically, on ARM boards where we boot NetBSD with U-Boot we require the kernel to live on an MSDOS or Linux Ext2/3/4 file-system. It would be nice if we could load a kernel directly from FFSv1 or FFSv2 instead.
                     21: 
                     22: This project requires access to an ARM board that is supported by mainline U-Boot and NetBSD.
                     23: 
1.5       maya       24: **Status:**
                     25: 
                     26: [Work in progress by berte](http://mail-index.netbsd.org/port-arm/2018/02/23/msg004650.html)
                     27: 
1.1       wiki       28: **Milestones:**
                     29: 
                     30: * Add an ffs driver to U-Boot (read-only)
1.2       wiki       31: * Add the following commands to U-Boot: *ffssize*, *ffsload*, *ffsls*
1.3       wiki       32: * Integrate changes with existing U-Boot packages (sysutils/u-boot*) in pkgsrc
1.1       wiki       33: * Update armv7.img to support booting directly from FFS.
                     34: * Modify sysinst to allow for installation without an MSDOS partition.
                     35:   * Some of this will be SoC-specific. Need to detect the SoC type and select the correct kernel/dtb and adjust partition layout to not interfere with U-Boot / SoC specific bootloaders.
                     36: 
                     37: **Extended goals:**
                     38: 
                     39: * Add write support to the U-Boot ffs driver
1.2       wiki       40: * Add an *ffswrite* command
                     41: * Compatibility with FreeBSD UFS
1.1       wiki       42: * Submit U-Boot FFS driver for inclusion with mainline U-Boot
                     43: 
1.4       wiki       44: **References:**
                     45: 
                     46: * [NetBSD libsa (standalone) UFS driver](https://nxr.netbsd.org/xref/src/sys/lib/libsa/ufs.c)
                     47: * [U-Boot fstype_info struct](https://github.com/u-boot/u-boot/blob/master/fs/fs.c#L109)
                     48: 
1.1       wiki       49: """
                     50: ]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb