The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2013-12-03
, 15:12
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#852
|
When you ssh to the device in ubiboot as root, your home dir is /root/ of the ubiboot FS.
Before attempting this, you need to do the following things:
Unexport your USB partitions: (if this gives you error, then you have the partitions mounted on your PC and you have to umount them first, cannot really have a partition mounted to 2 different devices at the same time, can you? )
echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file
Mount the drive you have your TAR file on, for example if it is on your My Docs then you need to do:
mount /dev/mmcblk0p1 /mnt/1
Then mount the target you want to extract your preinits to:
mount /dev/mmcblk0p2 /mnt/2
Then, extract the archive:
tar -xvf /mnt/1/preinits.tar -C /mnt/2/
Last thing, sync and umount partitions:
sync ; umount /mnt/1 ; umount /mnt/2
|
2013-12-03
, 15:52
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#853
|
|
2013-12-03
, 17:09
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#854
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-12-03
, 17:28
|
Posts: 111 |
Thanked: 62 times |
Joined on Apr 2012
@ Hong Kong
|
#855
|
|
2013-12-03
, 17:54
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#856
|
I think this is time for asking how to partitioning the emmc other than nemo′s Alt_OS
Sorry I am lazy
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-12-03
, 18:43
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#858
|
Yes, that is really a mess!
Or nicely stacked, as juiceme would say.
You somehow managed to shift roots and home from p2/3 to p3/4.
Your approach above editing ubiboot.conf may work (for sure this is the reason why kernels are not found), as it searches on harmattan rootfs (i.e. /dev/mmcblk0p2) boot folder. But due to your partition layout they reside on /dev/mmcblk0p4.
I suggest you do a reflash --no-preserve and start all over.
But before you should try editing ubiboot.conf as stated above.
And you will end up with a system having the home partition not mounted (would need editing at least /etc/fstab). Juiceme may tell more here.
--
did you ever try to flash standard open mode kernel and see how the N9 behaves?
|
2013-12-03
, 19:55
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#859
|
@garp
juice explained (again) correct and better than me
@taixzo
what about output of
ls -l /boot (when in harmattan, so /dev/mmcblk0p2/boot()?
Could it be you copied the kernel only to MyDocs/boot and not to /boot? (Of course the listed kernels in MyDocs/boot are only the ubi kernel which needs to be flashed to device)
output of
ls -l /boot
and ubiboot.conf
--
reread and possibly you have old configuration on mtd4/5?
if so, you need to decide to use either of mtd4/5 or MyDocs. Order is mtd4, mtd5, MyDocs
your log files will reside on /var/log/ubiboot*
taixzo@taixzo-laptop: $ ls -l /media/rootfs/boot/ total 17228 -rw-r--r-- 1 root root 2777924 Aug 6 09:42 zImage_2.6.32.54-openmode_l2fix -rw-r--r-- 1 root root 11952712 Dec 3 00:40 zImage_2.6.32.54-ubiboot-02_301013 -rw-r--r-- 1 root root 2901960 Aug 6 09:42 zImage_e-yes_nitdroid+l2fix
The kernels (zImage*) you should put on the /boot/ folder on your Harmattan root.
The log files, ubiboot.log & ubiboot.dmesg will be created after you run ubiboot at least once, in your p1 /boot/ directory which is /home/user/MyDocs/boot in Harmattan.
If you do not have the log files, then check your ubiboot.conf, as there are keys G_LOGFILE_PARTITION="1" and G_LOGFILE_DIRECTORY="/boot" which determine where the log files go.
Ah, one thing to remember! If you are using an older ubiboot version, then the log files go to /var/log/ of your Harmattan installation, and the location is not configurable!
|
2013-12-03
, 20:32
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#860
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
For battery, try the following:
shut down device
plug in ac/wall charger
check if you get the green maintenance console or the LPS charging symbol
in first case push power off button for approx. 8 seconds (device will power cycle and reboot)
check again, you may have to repeat a few times but I always get it working after a few tries
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!
Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257
editsignature, http://talk.maemo.org/profile.php?do=editsignature