Feature #6185

Feature #5061: freebsd boot loader integration (loader project)

want ficl scripting engine in illumos (loader project)

Added by Toomas Soome over 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:2015-08-31
Priority:NormalDue date:
Assignee:Toomas Soome% Done:

100%

Category:cmd - userland programs
Target version:-
Difficulty:Hard Tags:needs-triage

Description

As the loader project is progressing, I'm intending to build up the stage to make it possible to integrate FreeBSD loader to illumos. Loader is using ficl for command processor, the loader itself is depending on ficl, but also ficl is used as tool to extract information about loader settings in user space apps in loader project.

the intention is to have shared source path:
usr/src/common/ficl/

for both userland and loader, and this feature request shall bring in this source tree and usr/src/lib/libficl tree for ficl runtime library (32/64 bit) and usr/src/cmd/ficl shell (32/64 bit), packaged as developer/ficl.

The ficl version is 4.1.0 + many bug fixes to address 64bit issues, issues related to API change from 3.x to 4.x, also replaced LZ77 softcore compression with LZ4. In addition, libficl does provide access to loader emulator calls to mimic loader environment, implemented via bf_ prefix calls. The libficl interface is private, and subject to future development.

History

#2 Updated by Toomas Soome over 2 years ago

  • Related to Feature #5061: freebsd boot loader integration (loader project) added

#3 Updated by Toomas Soome almost 2 years ago

  • Related to deleted (Feature #5061: freebsd boot loader integration (loader project))

#4 Updated by Toomas Soome almost 2 years ago

  • Parent task set to #5061

#5 Updated by Electric Monk over 1 year ago

  • % Done changed from 80 to 100
  • Status changed from New to Closed

git commit afc2ba1deb75b323afde536f2dd18bcafdaa308d

commit  afc2ba1deb75b323afde536f2dd18bcafdaa308d
Author: Toomas Soome <tsoome@me.com>
Date:   2016-09-22T18:43:36.000Z

    6185 want ficl scripting engine in illumos (loader project)
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom