freebsd / freebsd-wifi-build

freebsd-wifi-build
142 stars 59 forks source link

[Broadcom] Support for TRX-based firmware #76

Closed mizhka closed 8 years ago

mizhka commented 8 years ago

There is several components in one TRX firmware:

  1. boot loader for CFE: CFE gives control to boot loader (0x80001000), boot loader fetches compressed kernel (gzip), uncompress it and load it at 0x80800000 (TARGETADDR).
  2. kernel contains trampoline code, so it's copy itself to default kernel location (0x80001000) overriding boot loader image.
  3. filesystem image is compressed (geom_uzip) and labeled as "FBSD". It allows to mount it by label and be indepedent of media (serial / parallel flash or USB)

Additional prerequisites: