Commit Graph

26 Commits

Author SHA1 Message Date
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 4e4e2a8643 Kernel: disable a few modules
Disable some modules to save space and to more closely match RescueOS
v1.1.
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 50185d5620 Kill /usr/share/getopt
This directory had example scripts for util-linux's getopt.  They count
as documentation and don't belong on an embedded rootfs.

This also reduces the diff to RescueOS v1.1; this directory was
(presumably manually) removed there as well.

Also cleanup post-build.sh a bit while we're at it.
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 5ef586619b Add mountpoint directories
Oops, git ignores empty directories.  Add '.empty' files to force git to
create the desired moutpoint directories in our filesystem overlay.
Fortunately, buildroot helpfully discards '.empty' files.
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 3d97f40858 Added gcc46-avoid-segfault.patch
This GCC patch was needed in order to successfully build a
cross-compilation toolchain under buildroot on Ubuntu 14.04.

The patch is included in later GCC releases, so we probably can drop
this once we upgrade GCC.
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 6c23ad532d formating. 2014-09-05 20:56:34 +02:00
NIN101 1850658501 email contact 2013-09-15 22:00:24 +02:00
NIN101 4ed5d98faf Uboot item provied by kerio 2013-08-04 22:01:57 +02:00
NIN101 736618cdf7 enable scripts for ftp and telnet 2013-06-30 12:14:37 +02:00
NIN101 ff0aeb760b Changelog for 1.1 2013-06-30 12:13:01 +02:00
NIN101 5e15ca7d9c Detect whether internal emmc is mmcblk1 or mmcblk1 at boot and
not when mass-storage-enable.sh is called
2013-06-30 12:12:04 +02:00
NIN101 0a582af232 Also properly detach maemo rootfs in rescueOS/shutdown-cleanup 2013-06-30 12:10:53 +02:00
NIN101 cb3c2ec483 Documentation... 2013-06-23 01:57:05 +02:00
NIN101 1cd11913e7 Changed changelog format 2013-06-23 01:55:53 +02:00
Pali Rohár 644165757d Correctly unmount maemo ubifs rootfs 2013-03-27 21:38:15 +01:00
NIN101 e3d478818b Documentation improvements 2013-03-24 12:14:43 +01:00
NIN101 917de90449 added reference to git repo...+ 2013-03-23 23:14:30 +01:00
NIN101 300b49d0cf Added rest 2013-03-23 22:22:34 +01:00
NIN101 cd735064de Added /rescueOS 2013-03-23 21:56:55 +01:00