Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Daniel Gnoutcheff
ad284287e9 Add code_reset
Package up a utility (and the library it depends on) that can reset the
N900's lock code.  Useful if a device is locked and you've forgotten the
code.
2015-04-02 21:16:35 -04:00
Daniel Gnoutcheff
ce4f0c200a Use $(DEFCONFIG) in place of $(BR2_DEFCONFIG)
The value of BR2_DEFCONFIG sometimes contains enclosing quotes, and that
can mess things up.  Use DEFCONFIG instead, which always has the quotes
removed.
2015-04-02 21:16:34 -04:00
Daniel Gnoutcheff
56c93ff7ea Make paths relative to BR2_DEFCONFIG
Instead of hardcoding the magic '../N900_RescueOS/' path everywhere,
have buildroot pull package config files, patches, etc. from the
directory that holds the main defconfig file, wherever that may be.
2015-04-02 21:16:34 -04:00
Daniel Gnoutcheff
8f1eabb7c9 Update wl1251 firmware loading path
The wl1251 driver in upstream linux kernels expects its firmware files
to live at
  ti-connectivity/wl1251-fw.bin
  ti-connectivity/wl1251-nvs.bin
and the linux-firmware package uses the same names for these files.
However, our current (older) kernel still expects them to be named
  wl1251-fw.bin
  wl1251-nvs.bin
and so firmware loading would fail.

RescueOS v1.1 included these files under the older filenames, but we'd
like to use the official (upstream) names.  Patch our kernel to match.

Also remove the unnecessary (and now erroneous) firmware check from
setup-wpa-wifi.sh.
2015-04-02 21:16:33 -04:00
Daniel Gnoutcheff
b4ef363620 Have buildroot build the cramfs image 2015-04-02 21:16:33 -04:00
Daniel Gnoutcheff
b0b3e47c4f Add wl1252 firmware
Arrange for the inclusion of wl1252 firmware in the rootfs.  Patch
buildroot to extract the desired files from linux-firmware.
2015-04-02 21:16:32 -04:00
Daniel Gnoutcheff
c3e6f491ee Automate kernel builds + bundle modules
Configure buildroot to automatically build our kernel (and as a side
effect, get the kernel modules into the rootfs image).  While we're at
it, defconfig-ify kernel_config.

For now, we reference the tarball at
  <http://n900.quitesimple.org/rescueOS/sourcecode/kernel_source.tar.gz>
which is equivalent to commit
  a91ce11c777f31ec3d04e60506bcd224f448382e
from the former MeeGo N900 device adaptation project.
2015-04-02 21:16:32 -04:00
Daniel Gnoutcheff
7fffd28a1e Disable locale support
This gets rid of usr/share/locale (which was presumably removed manually
for RescueOS releases).  Reduces rootfs tarball size by nearly 4 MB.
2015-04-02 21:16:32 -04:00
Daniel Gnoutcheff
be8a7817dd Create fs-overlay, post-build
Setup buildroot filesystem overlay and move our custom scripts/configs
into it.  Setup a post-build script and have it delete files generated
by buildroot that aren't in RescueOS v1.1.

This gets us closer to a buildroot configuration that will automatically
generate RescueOS images.  For now, we're using RescueOS v1.1 as a
reference.
2015-04-02 21:16:02 -04:00
Daniel Gnoutcheff
0a6aaecbe8 Have buildroot pull/save configs from repo
Have buildroot pull busybox config from this repo.  Replace
buildrootconfig with a defconfig file produced by buildroot's 'make
savedefconfig' and consumable by 'make defconfig'.
2015-04-02 11:52:26 -04:00
Daniel Gnoutcheff
693002462d Workaround GCC makeinfo build bug
The GCC 4.6.x build system breaks when run on systems with sufficiently
recent versions of texinfo.  Tweak buildroot configuration to avoid this
bug.

An equivalent workaround has been commited to buildroot (commit
62322ac).  We can drop this once we upgrade buildroot and/or GCC.

GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60961
2015-03-28 18:34:44 -04:00
NIN101
300b49d0cf Added rest 2013-03-23 22:22:34 +01:00