Guest hybr1d Posted March 2, 2011 Report Posted March 2, 2011 (edited) 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 March 3, 2011 by hybr1d
Guest HunteronX Posted March 3, 2011 Report Posted March 3, 2011 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
Guest blackcoffee85 Posted March 3, 2011 Report Posted March 3, 2011 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?
Guest Zebrahead Posted March 3, 2011 Report Posted March 3, 2011 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
Guest Zebrahead Posted March 3, 2011 Report Posted March 3, 2011 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
Guest Zebrahead Posted March 3, 2011 Report Posted March 3, 2011 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
Guest hybr1d Posted March 4, 2011 Report Posted March 4, 2011 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
Guest Zebrahead Posted March 4, 2011 Report Posted March 4, 2011 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!
Guest hybr1d Posted March 4, 2011 Report Posted March 4, 2011 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
Guest Zebrahead Posted March 4, 2011 Report Posted March 4, 2011 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 ^^
Guest Zebrahead Posted March 4, 2011 Report Posted March 4, 2011 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 ^^
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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.
Guest nevermind41 Posted March 5, 2011 Report Posted March 5, 2011 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 .
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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. :(
Guest Zebrahead Posted March 5, 2011 Report Posted March 5, 2011 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
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 So I know Zeb you have Ubuntu working so could you tell me how you make a suitable boot.img?? Thanks
Guest nevermind41 Posted March 5, 2011 Report Posted March 5, 2011 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 :(
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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.
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 (edited) 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 March 5, 2011 by Panayioti
Guest nevermind41 Posted March 5, 2011 Report Posted March 5, 2011 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
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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 ??
Guest nevermind41 Posted March 5, 2011 Report Posted March 5, 2011 Ok i got it to work kinda but it just comes up with lots of prompts should i leave it ?? what are these promts?
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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. :(
Guest Panayioti Posted March 5, 2011 Report Posted March 5, 2011 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??
Guest nevermind41 Posted March 5, 2011 Report Posted March 5, 2011 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now