• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      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 softwareNintendo 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 contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      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 / suspension / 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.