Graphe des révisions

63 Révisions

Auteur SHA1 Message Date
1a286e4529 typos 2015-05-31 16:54:47 +02:00
e4ece4494f Updated version 2015-05-31 16:53:56 +02:00
a030bbdc28 updated CHANGELOG and documentation 2015-05-31 16:38:23 +02:00
bf9a685cf8 document the new shortcuts 2015-05-31 13:33:19 +02:00
f725556ecd create the symlinks in post-build.sh. 2015-05-31 13:30:41 +02:00
9a6c527d20 update documentation 2015-05-31 13:08:22 +02:00
231350a726 all mounts with -n ; document tab + escape on N900 keyboard 2015-05-31 13:00:18 +02:00
81f6dc0ead remove obsolete directory 2015-05-31 12:55:45 +02:00
add2f9b166 disable autostart questions. autostart telnetd. shortcuts for /rescueOS/ scripts. 2015-05-31 12:43:04 +02:00
b72c6a0ae9 remove obsolete directories. 2015-05-31 12:41:37 +02:00
00ec563bd9 signature of buildroot is not detached. checksums must be checked manually 2015-04-05 12:56:17 +02:00
421ec7ca47 Merge branch 'master' of github.com:NIN101/N900_RescueOS 2015-04-05 12:37:46 +02:00
NIN101
1a602fa5d6 Merge pull request #1 from gnoutchd/master
Automated builds, code_reset
2015-04-05 12:23:17 +02:00
Daniel Gnoutcheff
240d61c97d Changelog entry 2015-04-04 22:07:28 -04:00
Daniel Gnoutcheff
036df02739 Docs: explain what 'flasher-3.5' means
Explicitly document the need to install a flasher tool and point to the
download sites. 'flasher-3.5' isn't a well known command, and with the
demise of the official distribution sites, it's become hard to find.

Also describe how to do the same thing with 0xFFFF, the free software
replacement for maemo_flasher.
2015-04-04 22:07:16 -04:00
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
84e358e6bf Build instructions 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
8b3524ceb6 Add nano syntax highlighting definitions
RescueOS v1.1 included syntax highlighting definitions for nano.  Patch
buildroot's nano package to have it install these files from nano's
source.
2015-04-02 21:16:33 -04:00
Daniel Gnoutcheff
0c3ce0d7b4 Busybox: disable CONFIG_MODPROBE_SMALL
Enabling MODPROBE_SMALL causes busybox to supply a version of the kernel
module handling utilities (modprobe, etc.) that rely on a special module
dependency index (modules.dep.bb) instead of the traditional indexes
(modules.dep, etc.) used and generated by module-init-tools.  Buildroot
only supports the traditional indexes.

When modules.dep.bb is missing, busybox will attempt to load a module
before checking for dependencies, resulting in a flood of "unknown
symbol" errors in dmesg when dependencies are missing.  Things actually
still work (as busybox tries again after resolving dependencies), but
the messages are ugly.

Avoid the whole mess by disabling MODPROBE_SMALL, which is what
buildroot expects anyway.
2015-04-02 21:16:33 -04:00
Daniel Gnoutcheff
e9f440c0af Regenerate busybox config
The busyboxconfig file we supplied earlier was for a version of busybox
older than that used by buildroot v2013.02.  The new busybox version
describes the same configuration with a slightly different file; that
file is given to us with 'make busybox-update-config'.
2015-04-02 21:16:33 -04:00
Daniel Gnoutcheff
9f262fde9d Sync udhcpc script from RescueOS v1.1
When using the script from this repo, 'udhcpc -i wlan0' would error out
with this:

> Recreating /etc/resolv.conf
> /usr/share/udhcpc/default.script: line 37: /etc/resolv.conf-8352: Read-only file system
>  Adding DNS server 192.168.7.1
> /usr/share/udhcpc/default.script: line 41: /etc/resolv.conf-8352: Read-only file system
> mv: can't rename '/etc/resolv.conf-8352': No such file or directory
2015-04-02 21:16:33 -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
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
3c2b5eb74a formating. 2014-09-05 20:56:34 +02:00
NIN101
6c23ad532d formating. 2014-09-05 20:56:34 +02:00
16455e0ed0 email contact 2013-09-15 22:00:24 +02:00
NIN101
1850658501 email contact 2013-09-15 22:00:24 +02:00
ef2f303a4a Uboot item provied by kerio 2013-08-04 22:01:57 +02:00
NIN101
4ed5d98faf Uboot item provied by kerio 2013-08-04 22:01:57 +02:00
eec4c8bf34 enable scripts for ftp and telnet 2013-06-30 12:14:37 +02:00
NIN101
736618cdf7 enable scripts for ftp and telnet 2013-06-30 12:14:37 +02:00
6cab4e5e34 Changelog for 1.1 2013-06-30 12:13:01 +02:00
NIN101
ff0aeb760b Changelog for 1.1 2013-06-30 12:13:01 +02:00
f68d4015a4 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
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
6aad08c6ac Also properly detach maemo rootfs in rescueOS/shutdown-cleanup 2013-06-30 12:10:53 +02:00
NIN101
0a582af232 Also properly detach maemo rootfs in rescueOS/shutdown-cleanup 2013-06-30 12:10:53 +02:00
767caa45b4 Documentation... 2013-06-23 01:57:05 +02:00