MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

Ubuntu Linux 11.04 (natty) on Vega (update 13/4)

209 posts in this topic

Posted (edited) · Report post

http://twitpic.com/456ypz

Attached are a usable kernel and initrd for loading a linux root.

To create a boot.img use the following command:

./mkbootimg --kernel zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M
nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1
496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576(
serdata)"
-o boot.img[/codebox]

(that should all be on one line)

This will create a boot.img file suitable for flashing.

It assumes the root filesystem is on /dev/mmcblk3p2 (which is the second partition on your microSD card) but you can change it as needed.

I can upload a copy of my current rootfs but the problem is that it is 442M - any suggestions on a good place to upload it?

linux_boot.zip

Edited by hybr1d
0

Share this post


Link to post
Share on other sites

Posted · Report post

http://twitpic.com/456ypz

Attached are a usable kernel and initrd for loading a linux root.

To create a boot.img use the following command:

./mkbootimg --kernel zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M
nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1
496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576(
serdata)"
-o boot.img[/codebox]

(that should all be on one line)

This will create a boot.img file suitable for flashing.

It assumes the root filesystem is on /dev/mmcblk3p2 (which is the second partition on your microSD card) but you can change it as needed.

I can upload a copy of my current rootfs but the problem is that it is 442M - any suggestions on a good place to upload it?

Thanks so much - I'll try it out later! :huh:

Also, you should be able to upload your rootfs to dropbox. You'll probably have to split it into parts though.

https://www.dropbox.com/help/5

Here's a link to create an account:

https://www.dropbox.com/register

0

Share this post


Link to post
Share on other sites

Posted · Report post

Wow, I wish I had a Vega to try this on! Can this be applied to other ARM tablets?

Can you dual boot Ubuntu/Android?

0

Share this post


Link to post
Share on other sites

Posted · Report post

I now have it to a stage at which it boots.

I get half way through the booting process, to "Copying kernel modules over", but then cp fails to create any directories and can't find /sbin/init.

I've tried rearranging my SD card in various ways. Could anyone describe what my rootfs should look like?

Could this be a problem with access permissions at all? Do any need changing?

Thanks,

Zeb

0

Share this post


Link to post
Share on other sites

Posted · Report post

Ok, figured that was because the rootfs partition of my sd card was ext4. Now ext3, it loads init.

Seem to have got the wlan module loaded properly.

Now it fails loading Plymouth :

mountall : Plymouth command failed

mountall : Disconnected from Plymouth

init: plymouth main process (721) killed by ABRT signal

init: plymouth-splash main process (850) terminated with status 2

Did you come across this problem at all?

Many thanks,

Zeb

0

Share this post


Link to post
Share on other sites

Posted · Report post

Seems that I now (without having done anything except reboot), fail to load the wlan modules too.

Causes what seems to be a kernel panic? I get what looks like a stack trace but it's too long for the screen so I only get the bottom half.

After that it again attempts to run plymouth and fails

0

Share this post


Link to post
Share on other sites

Posted · Report post

I am in the process of uploading a usable root image for 11.04 (but it will take a while to upload)

It will be at http://www.adebenham.com/vega/

I'll update once it is available

I have also uploaded a newer zimage and initrd.img-2.6.32-custom to the same place

That should fix up some of the wlan issues

0

Share this post


Link to post
Share on other sites

Posted · Report post

I am in the process of uploading a usable root image for 11.04 (but it will take a while to upload)

It will be at http://www.adebenham.com/vega/

I'll update once it is available

I have also uploaded a newer zimage and initrd.img-2.6.32-custom to the same place

That should fix up some of the wlan issues

Thank you for all of your help ^^, ill try it tomorrow if i get a chance!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Okay - the root image have been uploaded as http://www.adebenham.com/vega/vega_root.tgz

I'll update the first post with how to use it

Wonderful!!

All works brilliantly :(

Thank you very much, I look forward to this progressing!

If there's anything I could do to try and better anything, I'd be happy to help!

Zeb ^^

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have a question about the wireless access. On inspection I can see /system/*/wlan but it seems I can scan for any wireless networks.

Should I have configured something before use?

Thanks ^^

0

Share this post


Link to post
Share on other sites

Posted · Report post

Im new to android and all the other computer stuff so... I get stuck on how to make a suitable boot.img, where do you type the "code"? :(

Thanks.

0

Share this post


Link to post
Share on other sites

Posted · Report post

How did you extract the vega_root.tgz . when I try to extract it . I got some errors . I tried from console and also with archive manager .

When try to boot it stops on a screen with full these [ 4.2 ] [ 4.3 ] . So what is wrong . I need your helps .

0

Share this post


Link to post
Share on other sites

Posted · Report post

How did you extract the vega_root.tgz . when I try to extract it . I got some errors . I tried from console and also with archive manager .

When try to boot it stops on a screen with full these [ 4.2 ] [ 4.3 ] . So what is wrong . I need your helps .

Ye i also get errors when extracting the file. :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

How did you extract the vega_root.tgz . when I try to extract it . I got some errors . I tried from console and also with archive manager .

When try to boot it stops on a screen with full these [ 4.2 ] [ 4.3 ] . So what is wrong . I need your helps .

Ye i also get errors when extracting the file.

As the root image contains "special files" (such as device files), you'll need root permissions to extract. You shouldn't have any issues then.

Zeb

0

Share this post


Link to post
Share on other sites

Posted · Report post

So I know Zeb you have Ubuntu working so could you tell me how you make a suitable boot.img??

Thanks

0

Share this post


Link to post
Share on other sites

Posted · Report post

this is flash tool from cmd if you use windows http://www.mediafire.com/?ctvfaghcxkyr8xf

this is boot.img I made http://www.mediafire.com/?4nm8je4uktpu0r8

change your device to recovery mode and install its driver.

put the boot.img file to the flash tool directory .

writecmd to the run and go to the files where you put . For example you put nvflash to c:

cd c:\nvflash

and then use this command to install boot.img

nvflash -w --bl bootloader.bin --download 7 boot.img --go

And wait until the operation finish .

I must say that everything is your responsibility .

but the big problem is as I said I still couldn.t see desktop :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

this is flash tool from cmd if you use windows http://www.mediafire.com/?ctvfaghcxkyr8xf

this is boot.img I made http://www.mediafire.com/?4nm8je4uktpu0r8

change your device to recovery mode and install its driver.

put the boot.img file to the flash tool directory .

writecmd to the run and go to the files where you put . For example you put nvflash to c:

cd c:\nvflash

and then use this command to install boot.img

nvflash -w --bl bootloader.bin --download 7 boot.img --go

And wait until the operation finish .

I must say that everything is your responsibility .

but the big problem is as I said I still couldn.t see desktop :(

Thank you very much trying it now.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

writecmd to the run and go to the files where you put . For example you put nvflash to c:

cd c:\nvflash

and then use this command to install boot.img

nvflash -w --bl bootloader.bin --download 7 boot.img --go

(

I get stuck here could you go into it more sorry for being such a noob.

Thanks

Edited by Panayioti
0

Share this post


Link to post
Share on other sites

Posted · Report post

I get stuck here could you go into it more sorry for being such a noob.

Thanks

I don.t know how I can explain more clear

this install process for windows

download both files

extract them to c:

for example c:\nvflash

put the boot.img in c:\nvflash too

enter cmd to run

write c:\nvflash to cmd and enter

if your device is in recovery mode ad also you installed its driver

write

nvflash -w --bl bootloader.bin --download 7 boot.img --go

and enter it begins to instal boot.img process .

and also extracting the vega_root.tgz to put your sdcard you need linux . and also You must have ext4 partition in your sdcard

0

Share this post


Link to post
Share on other sites

Posted · Report post

I don.t know how I can explain more clear

this install process for windows

download both files

extract them to c:

for example c:\nvflash

put the boot.img in c:\nvflash too

enter cmd to run

write c:\nvflash to cmd and enter

if your device is in recovery mode ad also you installed its driver

write

nvflash -w --bl bootloader.bin --download 7 boot.img --go

and enter it begins to instal boot.img process .

and also extracting the vega_root.tgz to put your sdcard you need linux . and also You must have ext4 partition in your sdcard

Ok i got it to work kinda but it just comes up with lots of prompts should i leave it ??

0

Share this post


Link to post
Share on other sites

Posted · Report post

Ok i got it to work kinda but it just comes up with lots of prompts should i leave it ??

what are these promts?

0

Share this post


Link to post
Share on other sites

Posted · Report post

what are these promts?

Well the prompts have finished and I have an error its the same of what you got it just shows [ 4. ] down the screen. :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

As the root image contains "special files" (such as device files), you'll need root permissions to extract. You shouldn't have any issues then.

Zeb

how do you get root permissions??

0

Share this post


Link to post
Share on other sites

Posted · Report post

Well the prompts have finished and I have an error its the same of what you got it just shows [ 4. ] down the screen. :(

well done mate

I hope someone will explain us how to extract without errors or fix what we made wrong.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.