File:  [NetBSD Developer Wiki] / wikisrc / projects / project / u-boot-ffs.mdwn
Revision 1.6: download - view: text, annotated - select for diffs
Mon Mar 12 13:26:12 2018 UTC (23 months, 2 weeks ago) by maya
Branches: MAIN
CVS tags: HEAD
Don't list as a GSoC project, almost completed by berte!

    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"
   16: 
   17: description="""
   18: 
   19: 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.
   20: 
   21: This project requires access to an ARM board that is supported by mainline U-Boot and NetBSD.
   22: 
   23: **Status:**
   24: 
   25: [Work in progress by berte](http://mail-index.netbsd.org/port-arm/2018/02/23/msg004650.html)
   26: 
   27: **Milestones:**
   28: 
   29: * Add an ffs driver to U-Boot (read-only)
   30: * Add the following commands to U-Boot: *ffssize*, *ffsload*, *ffsls*
   31: * Integrate changes with existing U-Boot packages (sysutils/u-boot*) in pkgsrc
   32: * Update armv7.img to support booting directly from FFS.
   33: * Modify sysinst to allow for installation without an MSDOS partition.
   34:   * 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.
   35: 
   36: **Extended goals:**
   37: 
   38: * Add write support to the U-Boot ffs driver
   39: * Add an *ffswrite* command
   40: * Compatibility with FreeBSD UFS
   41: * Submit U-Boot FFS driver for inclusion with mainline U-Boot
   42: 
   43: **References:**
   44: 
   45: * [NetBSD libsa (standalone) UFS driver](https://nxr.netbsd.org/xref/src/sys/lib/libsa/ufs.c)
   46: * [U-Boot fstype_info struct](https://github.com/u-boot/u-boot/blob/master/fs/fs.c#L109)
   47: 
   48: """
   49: ]]

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