Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Ubuntu 12.04 on N900 with U-Boot

    Reply
    Page 32 of 45 | Prev | 22   30     31   32   33     34   42 | Next | Last
    int_ua | # 311 | 2012-06-28, 00:27 | Report

    Originally Posted by caveman View Post
    patch enabling dynamic partitions against the unstable branch rev 128

    i added some dialog reordering to keep the dialogs at the begining
    Pushed all three patches, rev 129, testing

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by int_ua; 2012-06-28 at 02:28.
    The Following 2 Users Say Thank You to int_ua For This Useful Post:
    caveman, unknown.obvious

     
    int_ua | # 312 | 2012-06-28, 01:33 | Report

    Collecting rev 129 errors in this post.
    With file as a target, mostly defaults:
    http://paste.ubuntu.com/1063531/

    paste.ubuntu.com/1063529/

    Not sure that it's the script's fault but I have filesystem errors after running rev 129. Run it only in an empty virtual machine!
    Oh, No space left on device...


    And now there is a (zombie?) process not giving up the loop device =( But I think I've just noticed what's wrong.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by int_ua; 2012-06-28 at 03:21.
    The Following User Says Thank You to int_ua For This Useful Post:
    unknown.obvious

     
    int_ua | # 313 | 2012-06-28, 03:00 | Report

    Please check that revision 132 produces bootable images. I think it's almost ready to become stable.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by int_ua; 2012-06-28 at 03:15.
    The Following 4 Users Say Thank You to int_ua For This Useful Post:
    caveman, freemangordon, fw190, unknown.obvious

     
    caveman | # 314 | 2012-06-29, 14:58 | Report

    Originally Posted by int_ua View Post
    Please check that revision 132 produces bootable images. I think it's almost ready to become stable.
    just finished running the install and everything seems fine

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to caveman For This Useful Post:
    int_ua

     
    caveman | # 315 | 2012-06-29, 19:48 | Report

    I am collecting a few post install tweaks on http://talk.maemo.org/showpost.php?p...&postcount=296.

    The is also a simple shell script attached there to automate most tweaks to the installed system, if you feel adventurous.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to caveman For This Useful Post:
    Estel, fw190, int_ua, reinob

     
    lalit | # 316 | 2012-06-30, 18:56 | Report

    Hi All,

    I registered on this forum yesterday and this is my first post. I want thank all developer for your hard work.

    Since morning I am trying to install ubuntu, but till now unable to boot ununtu.

    Please suggest possible solution.

    Here is my output - [used pali's uboot]

    1. [ubuntu+custom] Script failed after "apt-get -y dist-upgrade" due to linux-image-3.2.26's zimage. After that I stoped working on it.

    2. [core+custom] I got these issues which I have resolved -
    [Issue1] loadkeys: not found
    [Fix1] apt-get install console-tools
    [Issue2] failed to create pty
    [Fix2] https://bugs.launchpad.net/ubuntu/+s...rt/+bug/936667
    [Issue3] findkeymap: no such file or directory
    cannot open file /lib/udev/keymaps/nokia-n900.map
    [Fix3] cp /lib/udev/keymaps/nokia-n900-keys.map /lib/udev/keymaps/nokia-n900.map
    [Issue4] SIOCSIFHWADDR no such device
    [Fix4] commented "ifconfig wlan0 hw ether <mac>" from /etc/rc.local file


    3. [core+custom] These are my unresolved issues -
    [Issue 1] failed to obtain info for control (no such file or dir)
    [Issue 2] /etc/rc2.d/S20n900-alsamixer-settings: failure: not found
    [Failed Fix] I tried to fix via "alsactl -f /var/lib/alsa/asound.state store" but failed
    [Issue] cannot create dir /dev/cmt : file exist


    Originally Posted by caveman View Post
    6. right mouse button emulation: http://talk.maemo.org/showpost.php?p...&postcount=299
    included the following lines in /etc/X11/xorg.conf.d/90-input-n900.conf:
    Code:
            Option "EmulateThirdButton" "1"
            Option "EmulateThirdButtonTimeout" "750"
            Option "EmulateThirdButtonThreshold" "30"
    FOr me it was /etc/X11/xorg.conf.d/nokia-n900-input-rules.conf file instead of /etc/X11/xorg.conf.d/90-input-n900.conf

    Originally Posted by caveman View Post
    Code:
    iface=$(ip link|grep wlan|awk '{print $2}'|sed 's/://')
    ether=$(ip link|grep -A 2 wlan|tail -1|awk '{print $2;}')
    I got this error -
    Code:
    root@ubuntu:/# ip link
    Cannot open netlink socket: Address family not supported by protocol
    So I used this -
    Code:
    iface=$(ifconfig|grep wlan|awk '{print $1}')
    ether=$(grep 'address' /etc/udev/rules.d/70-persistent-net.rules | awk '{print $4;}' | cut -d '"' -f 2)
    ----------------------------------------------
    @int_ua

    I did following minor changes in install.sh (rev 132) to make it work for me, please take a look

    Code:
    $ diff -bB install.sh ../Downloads/install.sh 
    264c264
    <         mkfs.vfat "${dev}p${target_partition_suffix_fat}" || exit 1
    ---
    >         mkfs.vfat "${dev}${target_partition_suffix_fat}" || exit 1
    267c267
    <         mkswap "${dev}p${target_partition_suffix_swap}" || exit 1
    ---
    >         mkswap "${dev}${target_partition_suffix_swap}" || exit 1
    269,271c269,271
    <     mkfs.ext3 "${dev}p${target_partition_suffix_root}" || exit 1      
    <     tune2fs -O ^huge_file "${dev}p${target_partition_suffix_root}"
    <     e2fsck -pf "${dev}p${target_partition_suffix_root}" || exit 1
    ---
    >     mkfs.ext3 "${dev}${target_partition_suffix_root}" || exit 1      
    >     tune2fs -O ^huge_file "${dev}${target_partition_suffix_root}"
    >     e2fsck -pf "${dev}${target_partition_suffix_root}" || exit 1
    273c273
    <     mount "${dev}p${target_partition_suffix_root}" "$mountpoint_target" || exit 1
    ---
    >     mount "${dev}${target_partition_suffix_root}" "$mountpoint_target" || exit 1
    309c309
    <  mount -o "loop,offset=${skip}" -t auto "$image_name_raw" "$mountpoint_ubuntu" || exit 1
    ---
    >  mount -o "loop,offset=${skip}" -t auto "$image_name_raw $mountpoint_ubuntu" || exit 1
    391c391
    <     mount "${dev}p${target_partition_suffix_fat}" "$mountpoint_mmc_fat" || exit 1
    ---
    >     mount "${dev}${target_partition_suffix_fat}" "$mountpoint_mmc_fat" || exit 1
    400c400
    <     e2fsck -pf "${dev}p${target_partition_suffix_root}"
    ---
    >     e2fsck -pf "${dev}${target_partition_suffix_root}"
    Again thanks for your efforts.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by lalit; 2012-06-30 at 19:06. Reason: To add some more details
    The Following 7 Users Say Thank You to lalit For This Useful Post:
    Estel, fw190, int_ua, kinchan, PanzerSajt, reinob, unknown.obvious

     
    unknown.obvious | # 317 | 2012-06-30, 21:28 | Report

    Originally Posted by lalit View Post

    Code:
    mkfs.vfat "${dev}p${target_partition_suffix_fat}" || exit 1
    I get this Error: /dev/sdbp1: No such file or directory

    This Patch doesn't work on USB-Cardreader because they are not mmcblkXpX named but sdXX.

    Could you rewrite your Patch and make it difference in internal and external cardreader, please?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to unknown.obvious For This Useful Post:
    int_ua

     
    unknown.obvious | # 318 | 2012-07-01, 02:25 | Report

    Ok, installed with script.

    * ubuntu preinstalled image
    * custom kernel
    * local firmware
    * dist-upgrade

    I often had to "exit" because packages didn't install.
    Code:
    Something went wrong while installing man-db, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue.
    those packages:
    Code:
     resolvconf
     cups
     linux-image-3.2.0-26-omap
     acpid
     linux-image-omap
     linux-omap
     printer-driver-gutenprint
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    There was also one qemu segfault nr. 11, and some problem because of missing fstab entry.

    After that it didn't boot because it couldn't load ramdisk, so I deleted uinitrd.img from FAT.

    I manualy created a boot.scr without uinitrd entry but got a Kernel Panic on next boot:
    Code:
    setenv atagaddr $init_atagaddr
    setenv bootcmd 'mmc init; fatload mmc 0:1 0x82000000 uImage; bootm 0x82000000'
    setenv bootargs 'root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop'
    boot
    Then I removed the atag entry, and it booted.

    This works for me:
    Code:
    setenv bootcmd 'mmc init; fatload mmc 0:1 0x82000000 uImage; bootm 0x82000000'
    setenv bootargs 'root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop'
    boot
    (btw. I still use bootpr13)

    Actually I also chose lubuntu-desktop but it wasn't avaible at login. I probably should have enabled universe in apt-source? ... well, next time.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to unknown.obvious For This Useful Post:
    caveman, Estel, int_ua, lalit

     
    lalit | # 319 | 2012-07-01, 08:56 | Report

    Originally Posted by unknown.obvious View Post
    Code:
    Something went wrong while installing man-db, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue.
    those packages:
    Code:
     resolvconf
     cups
     linux-image-3.2.0-26-omap
     acpid
     linux-image-omap
     linux-omap
     printer-driver-gutenprint
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Same problem I got when used ubuntu-desktop image. I think we have to remove installed/default linux kernel before "dist-upgrade", as we already using our custom kernel. It will also save ~100MB space.

    Originally Posted by
    I get this Error: /dev/sdbp1: No such file or directory

    This Patch doesn't work on USB-Cardreader because they are not mmcblkXpX named but sdXX.

    Could you rewrite your Patch and make it difference in internal and external cardreader, please?
    Check attached patch file. (Also added "quite" option)


    Today I tried to boot ubuntu with minimal option (used on default options like ssh, local, apt-utils. without lxde and lxdmetc). Still ubuntu is not booting. My last message is
    Code:
    Loading /lib/udev/ketmaps/nokia-n900-keys.map
    and one blinking cursor.

    I will try with "/bin/sh" option.

    Edit : If init=/bin/sh then geting console during init time. After than nothing

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt install.sh.patch.txt (3.6 KB, 98 views)

    Last edited by lalit; 2012-07-01 at 09:08. Reason: update
    The Following 3 Users Say Thank You to lalit For This Useful Post:
    Estel, int_ua, unknown.obvious

     
    dudubaryosaf | # 320 | 2012-07-01, 18:01 | Report

    in terms of games with ubuntu open possibility in the future to see middle-class games, my question out there because I saw a 2005 formula1 game that looks spectacular in ubuntu, http://www.youtube.com/ watch? v = oESI8Jqg0-or, on my part would be a dream to see this great game and run to kick all devices iphone android and company, I say this because I asked for rfactor is based with few requirements taking into account that puediera gles adapt. The N900 is a device with many cards under the table because it has memory and processor and ram overclocloking requirements could reach asking for a game, I for me years ago to try this simulator arrives with lower requirements than required, up here a few words, this is actually something else sorry for my English

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 32 of 45 | Prev | 22   30     31   32   33     34   42 | Next | Last
vBulletin® Version 3.8.8
Normal Logout