Jump to content

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


Guest hybr1d

Recommended Posts

Guest hybr1d

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
Link to comment
Share on other sites

Guest HunteronX
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

Link to comment
Share on other sites

Guest blackcoffee85

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?

Link to comment
Share on other sites

Guest Zebrahead

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

Link to comment
Share on other sites

Guest Zebrahead

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

Link to comment
Share on other sites

Guest Zebrahead

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

Link to comment
Share on other sites

Guest hybr1d

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

Link to comment
Share on other sites

Guest Zebrahead
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!

Link to comment
Share on other sites

Guest Zebrahead

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 ^^

Link to comment
Share on other sites

Guest Panayioti

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.

Link to comment
Share on other sites

Guest nevermind41

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 .

Link to comment
Share on other sites

Guest Panayioti
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. :(

Link to comment
Share on other sites

Guest Zebrahead
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

Link to comment
Share on other sites

Guest nevermind41

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 :(

Link to comment
Share on other sites

Guest Panayioti
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.

Link to comment
Share on other sites

Guest Panayioti
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
Link to comment
Share on other sites

Guest nevermind41
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

Link to comment
Share on other sites

Guest Panayioti
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 ??

Link to comment
Share on other sites

Guest Panayioti
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. :(

Link to comment
Share on other sites

Guest Panayioti
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??

Link to comment
Share on other sites

Guest nevermind41
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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.