The Following 2 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2014-11-08
, 21:56
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#62
|
![]() |
2014-11-09
, 14:04
|
Posts: 4 |
Thanked: 2 times |
Joined on Nov 2014
|
#63
|
The Following User Says Thank You to waschmi For This Useful Post: | ||
![]() |
2014-11-09
, 15:24
|
Posts: 4 |
Thanked: 2 times |
Joined on Nov 2014
|
#64
|
![]() |
2014-11-10
, 21:12
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#65
|
#For compiling kernel sudo apt-get install qemu-user-static gcc-arm-none-eabi #For preparing card sudo apt-get install debootstrap
debian.conf -ARCH=armhf +ARCH=armel
-EDITOR=vim +EDITOR=nano
Error writing to output file - write (30: Read-only file system)
[ 560.576171] EXT4-fs error (device mmcblk0p1) in ext4_reserve_inode_write:4887: Out of memory [ 560.597259] Aborting journal on device mmcblk0p1-8. [ 560.607391] EXT4-fs (mmcblk0p1): Remounting filesystem read-only [ 560.613403] EXT4-fs error (device mmcblk0p1) in ext4_dirty_inode:5006: IO failure [ 560.619506] EXT4-fs error (device mmcblk0p1): ext4_journal_check_start:56: Detected aborted journal
shutdown -rF 0
touch /forcefsck
The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2014-11-10
, 23:08
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#66
|
The Following 4 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2014-11-11
, 08:26
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#67
|
I'm currently working with one SD-card and one N900-device, and I don't know if they are fault.
![]() |
2014-12-13
, 00:29
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#68
|
Sorry for the next part being vague, but I'm tired at the moment and I'm not really used to compiling kernels so I'm not sure about the right procedure.
I first tried setting this in freemangordons-linux-n900/.config:But it got overwritten during the run of build-kernel.sh.Code:CONFIG_RFKILL=1 CONFIG_RFKILL_REGULATOR=m
CONFIG_RFKILL=y
CONFIG_RFKILL=m
after compiling the kernel I could actually find an rfkill.ko module in freemangordons-linux-n900/modules/lib/modules/3.16.0-rc1+/kernel/net/rfkill
So I copied the whole modules directory (the 2nd one under modules/lib/) and the kernel (by overwriting the old kernel) to the µSD and started the device N900 with it.
# KERNELRELEASE=3.18.0-rc6+ # mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n $KERNELRELEASE -d /boot/zImage-$KERNELRELEASE /boot/uImage-$KERNELRELEASE # update-initramfs -c -k $KERNELRELEASE
# mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-$KERNELRELEASE /boot/uInitrd-$KERNELRELEASE
![]() |
2014-12-13
, 00:48
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#69
|
dunno which kernel you use, but I was able to boot (almost stock)fremantle since 3.14(?). Pali's tree should have SGX driver (didn't really check, but it should be there). You need userspace bits from fremantle ofc. No idea if those will work with hardfp though.
The Following User Says Thank You to wicket For This Useful Post: | ||
![]() |
2014-12-13
, 02:08
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#70
|
Couple of remarks, for motivating others.
1) Works with Ubuntu-14.10
Needed tools:
Gcc in Ubuntu fails with same error than Debian. Downgrade e.g. http://se.archive.ubuntu.com/ubuntu/...arm-none-eabi/ (reported: https://bugs.launchpad.net/ubuntu/+s...i/+bug/1390912)Code:#For compiling kernel sudo apt-get install qemu-user-static gcc-arm-none-eabi #For preparing card sudo apt-get install debootstrap
I'm first testing
2) During debootstap it asks what locales to generate. And timezone. Could these be in config file? (-> Even more batch run)Code:debian.conf -ARCH=armhf +ARCH=armel
3) My Fremantle could not read EXT4, so step "run configure_u-boot.sh" must be skipped and do manually uboot.item.
4) My first build was unusable, because even it associated with wireless access point, it never asked IP. So I made another build with added package isc-dhcp-client for dhclient. (Is this essential package or what is correct solution?)
Also
would be easier (no editor-war =) )Code:-EDITOR=vim +EDITOR=nano
5) issue: shutting down jessie (init 0 or shutdown -hP now) will not shut device down. I don't know what state it is but it can't be started with power button. Battery must be taken off.
6) issue: File system gets corrupted often when doing apt-get update or install.
Command stops at
And dmesg shows:Code:Error writing to output file - write (30: Read-only file system)
I'm currently working with one SD-card and one N900-device, and I don't know if they are fault.Code:[ 560.576171] EXT4-fs error (device mmcblk0p1) in ext4_reserve_inode_write:4887: Out of memory [ 560.597259] Aborting journal on device mmcblk0p1-8. [ 560.607391] EXT4-fs (mmcblk0p1): Remounting filesystem read-only [ 560.613403] EXT4-fs error (device mmcblk0p1) in ext4_dirty_inode:5006: IO failure [ 560.619506] EXT4-fs error (device mmcblk0p1): ext4_journal_check_start:56: Detected aborted journal
6b) Can't trigger fsck with
orCode:shutdown -rF 0
I must remove card for fixing filesystem. And because device is not shutting down it needs also battery removal every time.Code:touch /forcefsck
The Following 4 Users Say Thank You to wicket For This Useful Post: | ||
Never fear. I is here.
720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900
Community SSU developer
kernel-power developer and maintainer