maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Introducing console-tools v1 (install-tools replacemement) (https://talk.maemo.org/showthread.php?t=25714)

penguinbait 2009-01-09 15:40

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by stevecrye (Post 255498)
Uh ... PB ...

Where is your PayPal donate link? I could not find it on penquinbait.com.


Steve


Go to tablethacker.com and Click Donate ;)

Thanks Everyone, I have been out of town and I will be working through some issues people are reporting over the next week.

pb

archimage 2009-01-09 18:44

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by tomstratton (Post 255222)
Hi there - just got a wimax for Christmas and decided to give this a try. Everything checks out OK until I get to the final reboot where I should get to start up from the internal memory card.

I see the bootmenu OK but the control pad is disabled and then after 10 seconds or so I get the following error message
"WiMax:
Self test RF#2 failed, try to reboot the device.
If the problem persists, perform software update
or contact service."

I successfully reflash the device and start over. I can even install the boot-menu and then restart directly to the internal but I get the error when I add the memory card partition to the bootmenu.

Also, separate question - I've read that using a memory card as swap can shorten the life of the card. Since the wimax has an embedded card what is the best way to handle the partitioning and swap for the wimax? should I only be doing this on the external card?

thanks

Hello PB,

Just thought I would confirm that the above error probably exists for all WiMax editions, as I have tried to install bootmenu 7 times and gotten the same error each time and ended up reflashing my tablet back to the factory OS version just to get back the use of my tablet. Now I have looked at the bootmenu garage page and looked at the files there. What I have noted is that there are specific files for the R-34 and R-44 series of OS2007 & OS2008, but none for the R-48 (WiMax) series of OS2008. Is there any way you and STSKEEPS/ Fanoush can correct this oversight, as I do not know Linux OS well enough to compile, fix, etc.... this problem? Please consider this a request in regards to us w/ the WiMax version, Otherwise, I fear we will never be able to Clone OUR OS to the SD card (or should I say, cloning is successful, but booting to it is impossible) until this is resolved.....

I would be more than willing to be a Alpha/Beta tester for this in order to help facilitate your efforts in this regard....

PS. Hope you had a wonderful vacation......

penguinbait 2009-01-10 03:27

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by archimage (Post 255913)
Hello PB,

Just thought I would confirm that the above error probably exists for all WiMax editions, as I have tried to install bootmenu 7 times and gotten the same error each time and ended up reflashing my tablet back to the factory OS version just to get back the use of my tablet. Now I have looked at the bootmenu garage page and looked at the files there. What I have noted is that there are specific files for the R-34 and R-44 series of OS2007 & OS2008, but none for the R-48 (WiMax) series of OS2008. Is there any way you and STSKEEPS/ Fanoush can correct this oversight, as I do not know Linux OS well enough to compile, fix, etc.... this problem? Please consider this a request in regards to us w/ the WiMax version, Otherwise, I fear we will never be able to Clone OUR OS to the SD card (or should I say, cloning is successful, but booting to it is impossible) until this is resolved.....

I would be more than willing to be a Alpha/Beta tester for this in order to help facilitate your efforts in this regard....

PS. Hope you had a wonderful vacation......

I merely automate Fanoush's scripts, if Fanoush supports it console-tools would support it. Send him a pm and see what he says, perhaps you can be his tester?

mfortner 2009-01-11 00:23

Re: Swap Partition
 
Quote:

Originally Posted by TheGogmagog (Post 253647)
[edit: found the enable swap in 'PB' menu]

I'm booting from the MMC2/internal card, but when I get to the enable swap menu my swap partition (also on MMC2/internal) is not visible. I know PB uses swap on the card alternate of his boot card. So is not possible or beneficial to use a swap partition on the same card one is booting from?

tomstratton 2009-01-11 03:04

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 256061)
I merely automate Fanoush's scripts, if Fanoush supports it console-tools would support it. Send him a pm and see what he says, perhaps you can be his tester?

The issue (if Fanoush can get bootmenu working with the WIMAX, is that the error occurs with ct on the initial install of bootmenu and there is no opportunity to do the "upgrade" step AFAIK...

Just an FYI - I've agreed to test it if he works on it but there might be additional steps to get it working with ct.

Tom

garfield 2009-01-11 06:40

Re: Introducing console-tools v1 (install-tools replacemement)
 
Hello, I am newbie for linux. I cannot enable swap partition though UI. I follow your advice to set the a 256MB swap partition to externel sd (booting from internal), I use swap menu to enable it. Command "free" displays swap partitions doesn't work even after reboot.

another confusion:

In my n810, "cat /proc/partitions" displays : mmcblk0 is my external sd and mmcblk1 is internal sd. but "df" is correct.
Code:

~ $ cat /proc/partitions
major minor  #blocks  name

  31    0        128 mtdblock0
  31    1        384 mtdblock1
  31    2      2048 mtdblock2
  31    3      4096 mtdblock3
  31    4    255488 mtdblock4
 254    0    8009728 mmcblk0
 254    1    8009720 mmcblk0p1
 254    8    1966080 mmcblk1
 254    9    1966072 mmcblk1p1
~ $ df
Filesystem          1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4            4096      2660      1436  65% /mnt/initfsnone                      512        92      420  18% /mnt/initfs/tmp
/dev/mtdblock4          255488    112184    143304  44% /
none                      512        92      420  18% /tmp
none                      1024        60      964  6% /dev
tmpfs                    1024        0      1024  0% /dev/shm
/dev/mmcblk0p1        1962220        12  1962208  0% /media/mmc2/dev/mmcblk1p1        7994088      8692  7985396  0% /media/mmc1

Could you help me figure it out? Thanks

penguinbait 2009-01-11 17:12

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by garfield (Post 256374)
Hello, I am newbie for linux. I cannot enable swap partition though UI. I follow your advice to set the a 256MB swap partition to externel sd (booting from internal), I use swap menu to enable it. Command "free" displays swap partitions doesn't work even after reboot.

another confusion:

In my n810, "cat /proc/partitions" displays : mmcblk0 is my external sd and mmcblk1 is internal sd. but "df" is correct.
Code:

~ $ cat /proc/partitions
major minor  #blocks  name

  31    0        128 mtdblock0
  31    1        384 mtdblock1
  31    2      2048 mtdblock2
  31    3      4096 mtdblock3
  31    4    255488 mtdblock4
 254    0    8009728 mmcblk0
 254    1    8009720 mmcblk0p1
 254    8    1966080 mmcblk1
 254    9    1966072 mmcblk1p1
~ $ df
Filesystem          1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4            4096      2660      1436  65% /mnt/initfsnone                      512        92      420  18% /mnt/initfs/tmp
/dev/mtdblock4          255488    112184    143304  44% /
none                      512        92      420  18% /tmp
none                      1024        60      964  6% /dev
tmpfs                    1024        0      1024  0% /dev/shm
/dev/mmcblk0p1        1962220        12  1962208  0% /media/mmc2/dev/mmcblk1p1        7994088      8692  7985396  0% /media/mmc1

Could you help me figure it out? Thanks

Can you run these commands

fdisk -l /dev/mmcblk0

fdisk -l /dev/mmcblk1

sfdisk -l /dev/mmcblk0

sfdisk -l /dev/mmcblk1

cat /etc/fstab

ls -ltr /etc/init.d/

ls -ltr /etc/rc2.d

cat /etc/init.d/local.sh

Thanks,

fanoush 2009-01-11 21:40

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 256061)
I merely automate Fanoush's scripts, if Fanoush supports it console-tools would support it. Send him a pm and see what he says, perhaps you can be his tester?

As mentioned in the other thread tomstratton created for this, I have hopefully fixed keyboard handling for RX-48. However it sounds completely unrelated to the wimax error so if it doesn't help my only idea is that the 'remove unneeded extra and factory testing stuff' initfs_flasher step removes something needed for wimax device. What is your default in console-tools for this step, yes or no? No is safer and yes no longer makes much difference since Diablo release enlarged initfs partiton.

tomstratton 2009-01-12 02:53

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by fanoush (Post 256600)
As mentioned in the other thread tomstratton created for this, I have hopefully fixed keyboard handling for RX-48. However it sounds completely unrelated to the wimax error so if it doesn't help my only idea is that the 'remove unneeded extra and factory testing stuff' initfs_flasher step removes something needed for wimax device. What is your default in console-tools for this step, yes or no? No is safer and yes no longer makes much difference since Diablo release enlarged initfs partiton.

PB - I thing that Fanoush HAS fixed the bootmenu to work with the WIMAX (maybe not...) but it doesn't seem to like booting to the external card. I get an error
"Boot from mmc13 failed... rebooting from flash"
After using pb to clone and copy all data FROM mtdblock4 TO mmcblk1p3 (after partitioning)

See my full post here...

I'm going to reread this entire thread to see if I find any answers here.

Tom
http://www.internettablettalk.com/fo...3&postcount=10

garfield 2009-01-12 13:41

Re: Introducing console-tools v1 (install-tools replacemement)
 
Quote:

Originally Posted by penguinbait (Post 256502)
Can you run these commands

fdisk -l /dev/mmcblk0

fdisk -l /dev/mmcblk1

sfdisk -l /dev/mmcblk0

sfdisk -l /dev/mmcblk1

cat /etc/fstab

ls -ltr /etc/init.d/

ls -ltr /etc/rc2.d

cat /etc/init.d/local.sh

Thanks,

Code:

/home/user # fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 2 GB, 2013265920 bytes
4 heads, 16 sectors/track, 61440 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

      Device Boot      Start        End      Blocks  Id  System
/dev/mmcblk0p1              1        7813      250008    c  FAT32 LBA
/dev/mmcblk0p2  *        7814      61440    1716032  83  Linux
/home/user # fdisk -l /dev/mmcblk1

Disk /dev/mmcblk1: 8 GB, 8201961472 bytes
4 heads, 16 sectors/track, 250304 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

      Device Boot      Start        End      Blocks  Id  System
/dev/mmcblk1p1              1      242492    7759736    c  FAT32 LBA
/dev/mmcblk1p2          242493      250304      249952  82  Linux swap
/home/user # sfdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 61440 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk0p1          0+  7812    7813-    250008    c  W95 FAT32 (LBA)
/dev/mmcblk0p2  *  7813  61439  53627    1716064  83  Linux
/dev/mmcblk0p3          0      -      0          0    0  Empty
/dev/mmcblk0p4          0      -      0          0    0  Empty
/home/user # sfdisk -l /dev/mmcblk1

Disk /dev/mmcblk1: 250304 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/mmcblk1p1          0+ 242491  242492-  7759736    c  W95 FAT32 (LBA)
/dev/mmcblk1p2    242492  250303    7812    249984  82  Linux swap / Solaris
/dev/mmcblk1p3          0      -      0          0    0  Empty
/dev/mmcblk1p4          0      -      0          0    0  Empty
/home/user # cat /etc/fstab
rootfs  /              rootfs  defaults,errors=remount-ro,noatime      0 0
/dev/mmcblk0p1  /media/mmc1 vfat rw,noauto,nodev,noexec,nosuid,utf8,uid=29999 0 0
/dev/mmcblk1p2 none swap sw 0 0
/home/user # ls -ltr /etc/init.d/
-rwxr-xr-x    1 root    root        1177 Aug 24  2006 af-base-apps
-rwxr-xr-x    1 root    root          844 Feb  7  2007 dsp-init
-rwxr-xr-x    1 root    root        1848 Mar 13  2007 hulda
-rwxr-xr-x    1 root    root          574 Jun 14  2007 wlancond
-rwxr-xr-x    1 root    root        1210 Jun 19  2007 btcond
-rwxr-xr-x    1 root    root        2135 Sep  6  2007 alarmd
-rwxr-xr-x    1 root    root          992 Sep 18  2007 zzinitdone
-rwxr-xr-x    1 root    root          542 Sep 19  2007 hildon-desktop
-rwxr-xr-x    1 root    root        1115 Oct  4  2007 libgpsbt
-rwxr-xr-x    1 root    root        2778 Oct 24  2007 ke-recv
-rwxr-xr-x    1 root    root          762 Nov 23  2007 esd
-rwxr-xr-x    1 root    root        1772 Jan 16  2008 osso-systemui-early
-rwxr-xr-x    1 root    root        1589 Jan 16  2008 osso-systemui
-rwxr-xr-x    1 root    root        4157 Jan 23  2008 rcS
-rwxr-xr-x    1 root    root        2288 Jan 23  2008 rc
-rwxr-xr-x    1 root    root        1044 Jan 23  2008 minishutdown
-rwxr-xr-x    1 root    root        1016 Jan 23  2008 minireboot
-rwxr-xr-x    1 root    root          685 Feb 13  2008 osso-ipv6
-rwxr-xr-x    1 root    root        2051 Feb 13  2008 wide-dhcpv6-client
-rwxr-xr-x    1 root    root        2304 Feb 26  2008 mce
-rwxr-xr-x    1 root    root        1213 Mar 14  2008 multimediad
-rwxr-xr-x    1 root    root        1811 Mar 19  2008 ttyusb0
-rwxr-xr-x    1 root    root        2134 Apr  3  2008 af-services
-rwxr-xr-x    1 root    root        1204 Apr  8  2008 gpsdriver
-rwxr-xr-x    1 root    root        2611 Apr  9  2008 dbus
-rwxr-xr-x    1 root    root        1843 Apr 14  2008 hal
-rwxr-xr-x    1 root    root          919 Apr 15  2008 python-launcher
-rwxr-xr-x    1 root    root          704 Apr 17  2008 osso-applet-display
-rwxr-xr-x    1 root    root        2393 May 28  2008 networking
-rwxr-xr-x    1 root    root        2229 Jul  1  2008 af-startup
-rwxr-xr-x    1 root    root        2002 Jul 14 13:26 maemo-launcher
-rwxr-xr-x    1 root    root        1854 Jul 14 18:39 fb-progress.sh
-rwxr-xr-x    1 root    root          326 Jul 19 07:42 brightness-permission
-rwxr-xr-x    1 root    root          579 Aug  5 16:36 product-code
-rwxr-xr-x    1 root    root          933 Aug 20 22:32 tablet-browser-daemon
-rwxr-xr-x    1 root    root        6175 Sep 18 17:11 glibc.sh
-rwxr-xr-x    1 root    root        1345 Sep 18 18:55 dnsmasq
-rwxr-xr-x    1 root    root        1434 Sep 24 21:01 x-server
-rwxr-xr-x    1 root    root        1496 Oct 10 17:50 mediaplayer-daemon
-rwxr-xr-x    1 root    root        1999 Oct 10 17:52 metalayer-crawler0
-rwxr-xr-x    1 root    root        1799 Oct 13 19:15 bluez-utils
-rwxr-xr-x    1 root    root        2039 Oct 15 03:53 privoxy
-rwxr-xr-x    1 root    root        2212 Oct 22 21:23 icd2
-rwxr-xr-x    1 root    root        1126 Oct 27 21:56 obexsrv
-rwxr-xr-x    1 root    root          283 Dec  4 17:05 hildon-application-manager
-rwxr-xr-x    1 root    root          427 Jan 12 19:12 local.sh
/home/user # ls -ltr /etc/rc2.d
lrwxrwxrwx    1 root    root          20 Jan 12 18:56 S99zzinitdone -> ../init.d/zzinitdone
lrwxrwxrwx    1 root    root          17 Jan 12 18:56 S99ttyusb0 -> ../init.d/ttyusb0
lrwxrwxrwx    1 root    root          31 Jan 12 18:56 S99tablet-browser-daemon -> ../init.d/tablet-browser-daemon
lrwxrwxrwx    1 root    root          28 Jan 12 18:56 S99metalayer-crawler0 -> ../init.d/metalayer-crawler0
lrwxrwxrwx    1 root    root          28 Jan 12 18:56 S99mediaplayer-daemon -> ../init.d/mediaplayer-daemon
lrwxrwxrwx    1 root    root          15 Jan 12 18:56 S99hulda -> ../init.d/hulda
lrwxrwxrwx    1 root    root          16 Jan 12 18:56 S99alarmd -> ../init.d/alarmd
lrwxrwxrwx    1 root    root          17 Jan 12 18:56 S70obexsrv -> ../init.d/obexsrv
lrwxrwxrwx    1 root    root          23 Jan 12 18:56 S61osso-systemui -> ../init.d/osso-systemui
lrwxrwxrwx    1 root    root          22 Jan 12 18:56 S60af-base-apps -> ../init.d/af-base-apps
lrwxrwxrwx    1 root    root          14 Jan 12 18:56 S59icd2 -> ../init.d/icd2
lrwxrwxrwx    1 root    root          18 Jan 12 18:56 S58wlancond -> ../init.d/wlancond
lrwxrwxrwx    1 root    root          28 Jan 12 18:56 S58wide-dhcpv6-client -> ../init.d/wide-dhcpv6-client
lrwxrwxrwx    1 root    root          16 Jan 12 18:56 S57btcond -> ../init.d/btcond
lrwxrwxrwx    1 root    root          21 Jan 12 18:56 S56bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx    1 root    root          19 Jan 12 18:56 S54osso-ipv6 -> ../init.d/osso-ipv6
lrwxrwxrwx    1 root    root          18 Jan 12 18:56 S54libgpsbt -> ../init.d/libgpsbt
lrwxrwxrwx    1 root    root          19 Jan 12 18:56 S54gpsdriver -> ../init.d/gpsdriver
lrwxrwxrwx    1 root    root          17 Jan 12 18:56 S53dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx    1 root    root          36 Jan 12 18:56 S52hildon-application-manager -> ../init.d/hildon-application-manager
lrwxrwxrwx    1 root    root          24 Jan 12 18:56 S51hildon-desktop -> ../init.d/hildon-desktop
lrwxrwxrwx    1 root    root          20 Jan 12 18:56 S50af-startup -> ../init.d/af-startup
lrwxrwxrwx    1 root    root          24 Jan 12 18:56 S45maemo-launcher -> ../init.d/maemo-launcher
lrwxrwxrwx    1 root    root          25 Jan 12 18:56 S44python-launcher -> ../init.d/python-launcher
lrwxrwxrwx    1 root    root          22 Jan 12 18:56 S41product-code -> ../init.d/product-code
lrwxrwxrwx    1 root    root          17 Jan 12 18:56 S30ke-recv -> ../init.d/ke-recv
lrwxrwxrwx    1 root    root          29 Jan 12 18:56 S26osso-systemui-early -> ../init.d/osso-systemui-early
lrwxrwxrwx    1 root    root          13 Jan 12 18:56 S26esd -> ../init.d/esd
lrwxrwxrwx    1 root    root          21 Jan 12 18:56 S25multimediad -> ../init.d/multimediad
lrwxrwxrwx    1 root    root          18 Jan 12 18:56 S24dsp-init -> ../init.d/dsp-init
lrwxrwxrwx    1 root    root          21 Jan 12 18:56 S22af-services -> ../init.d/af-services
lrwxrwxrwx    1 root    root          18 Jan 12 18:56 S21x-server -> ../init.d/x-server
lrwxrwxrwx    1 root    root          13 Jan 12 18:56 S21mce -> ../init.d/mce
lrwxrwxrwx    1 root    root          17 Jan 12 18:56 S20privoxy -> ../init.d/privoxy
lrwxrwxrwx    1 root    root          29 Jan 12 18:56 S20osso-applet-display -> ../init.d/osso-applet-display
lrwxrwxrwx    1 root    root          13 Jan 12 18:56 S20hal -> ../init.d/hal
lrwxrwxrwx    1 root    root          14 Jan 12 18:56 S20dbus -> ../init.d/dbus
lrwxrwxrwx    1 root    root          24 Jan 12 18:56 S12fb-progress.sh -> ../init.d/fb-progress.sh
lrwxrwxrwx    1 root    root          20 Jan 12 18:56 K00zzinitdone -> ../init.d/zzinitdone
lrwxrwxrwx    1 root    root          20 Jan 12 19:12 S90local -> /etc/init.d/local.sh
/home/user # cat /etc/init.d/local.sh
#!/bin/sh
# Startup script for penguinbait crap
#

# Carry out specific functions when asked to by the system
case "$1" in
  start)
    echo "Starting script penguinbaits crap"

#Load modules plus check and mount local.img
cat /etc/fstab | grep swap | awk '{print $1}' | xargs swapon
;;
  stop)
    echo "Stopping script blah"
    ;;
  *)
    echo "Usage: /etc/init.d/local.sh {start|stop}"
    exit 1
    ;;
esac

exit 0

thanks for help.


All times are GMT. The time now is 16:37.

vBulletin® Version 3.8.8