GithubHelp home page GithubHelp logo

zhmu / bsd-ce Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 10 KB

Converts a FreeBSD ELF kernel to a Windows CE NK.BIN image file

License: BSD 2-Clause "Simplified" License

Makefile 2.25% C 75.90% Assembly 21.85%

bsd-ce's Introduction

BSD-CE

This is a small utility which can convert a FreeBSD kernel ELF files to Windows CE NK.BIN files. These files can then be loaded by the Windows CE bootloader and you'll have FreeBSD on your previously CE-only device!

Usage

I used this tool to inject a kernel in a Compaq Evo T30 thinclient; once booting the machine and holding P, it will attempt to do an netboot using DHCP/TFTP on ports 10067, 10068 and 10069. Grabbing the original firmware and just overwriting the chunk that began with NK (which is the magic Windows CE kernel signature) allowed me to place my own firmware in there - and it turns out FreeBSD works mostly fine on such a device.

Mostly - because there seem to be some (hardware?) issues that FreeBSD cannot cope with:

  • I was unable to get the onboard IDE controller to do anything elseful (it would never find any disks)
  • The USB chip used has a serious hardware defect, which neither the pre-8.0 nor the new post-8.0 USB stack have workarounds for
  • The PCMCIA interface does not seem to have an IRQ line, resulting in no devices attaching to it

On the bright side, the audio interface works fine, as does ethernet (on Linux, only 2.4 kernels would work correctly with it).

Downloads

bsd-ce's People

Contributors

zhmu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.