Ideally the next step would be to rework/recompile some of the applications to use GLES instead of Open GL or find desktop with GLES support.
Given this is a rootfs, it can be tested on other imx6 devices but no guarantees.
What is working:
1. GPU acceleration
2. Video playback using totem
3. Chromium (with GPU acceleration, webgl does not work)
4. Numerous desktop applications
5. Wifi
As per the previous ubuntu 12.04 image, to deploy:
1. Download roofs.
2. Extract rootfs onto your sdcard.
There is a bug in ubuntu with dbus disabling wifi (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659953). After booting execute the following and reboot to configure wifi from within xfce:
chgrp messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chmod +s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
You can also download the Vivante GPU demos, these demonstrate the performance of the GC2000 core. Extract the tar file and the samples are in located in "viv_samples/vdk", there are number tutorial files that you can run eg "tutorial1, tutorial1_es20".
Thanks for your hard work! I always adore people with such commitment.
ReplyDeleteGreat work Jas! We finally have an usable system!!
ReplyDelete1-WIFI work (with hack)
2-GPU/VPU acceleration work
3-Resolution fixed on 640x480 default
4-system very fast on working with xfce
5-read/write on ntfs partition seems not work... (module ntfs-3g is in kernel?)
6-why I see video very slow? BTW perfetcly, but "in slow motion" what is the problem?
7-Internal bluetooth not working but external one YESS..
I have not installed yet, but on the older Wifi was not working by default, what do you mean by hack?
DeleteResolution should be picked up using EDID, so not sure why it is not working for you. I think default should be higher. Resolution can be passed through uboot to kernel. If you need help, try iirc channel imx6-dongle.
DeleteYou should be able to configure wifi through xfce (setting).
I too have not been able to get EDID working at all, which u-boot.imx and uImage should we be using?
DeleteUpdated blog with wifi fix, so that it can setting from within xfce.
DeleteOpen up terminal
ReplyDeletesudo chmod 0600 /etc/network/interfaces (Optional – this is to stop the PSK from being exposed)
[Enter your password. The default password is “linaro”]
gksu gedit /etc/network/interfaces
[Enter your password]
Add the following text to the end of your interfaces file
auto wlan1
iface wlan1 inet dhcp
[tab indented] wpa-ssid yournetworkssid
[tab indented] wpa-psk yourpassword
I think you can run the following to get a list of available networks if you can’t remember the exact SSID,
sudo iwlist wlan1 scan (Optional)
Now save the file and quit gedit. The “auto” should make the system connect automatically on startup, I don’t have access now to the GK802 to check.
Now we have to restart the wlan1 interface.
sudo ifdown wlan1
sudo ifup wlan1 (I got an error here, just ignore it)
Open your web browser, hopefully you will be connected to the internet..
Posted by TanaKA thread ago..
You may use wicd instead nwtworkmanager also...
I've followed the steps and after sudo ifdown wlan1 I'm getting
Deleteifdown: interface wlan1 not configured
also if I do ls /sys/class/net/ I get following:
lo
Any idea?
No idea, but I seem to have a similar problem. Using Ben's image on the external SD and Jas' multiboot uboot on the internal. The OS works flawlessly in general, but there is no network interface besides lo. I did apply the dbus fix.
DeleteChecked dmesg, but didn't see anything with regards to wifi. I'm a noob, so I'm a bit lost on options now. I installed lshw, but it crashes saying "Bus error (core dumped)" when I run it as root. lsmod is empty, and modprobe runs into an error saying it can't open the directory /lib/modules/3.0.35-02708-g899792c-dirty - maybe that's the root of the problem or all that is expected, I have no idea and need some help.
My workaround is to connect my phone and activate USB tethering, that works.
Hi Jas,
ReplyDeleteExcellent work!
What about Enlightenment GUI ? It can support OpenGL ES, I think.
http://www.enlightenment.org/p.php?p=about&l=en
Do you think it may be any help ?
Tom
That looks interesting will have a look at it.
DeleteHave to try " Enlightenment", great peace of software. Highly configurable, eye candy and have small resource footprint. Great for ARM based devices.
DeleteCan I help in some way?
Have allready installed multiboot, rootfs using information published here + SLiM login manager and e17 from repos.
Apologize for my English, not native.
My best wishes!
were you able to install e17 on the gk802?
DeleteDoes this release support Video decoding and video acceleration on Chromium ? I looked into it but i couldn't get the GPU working in Chromium.
ReplyDeleteNice work by the way! :)
Thank you for your hard work, i just buyed the GK802 just for this
ReplyDeletethanks a lot
Could you please list the steps you took to build this rootfs and the ubuntu ones earlier (source, build environment)? I'd like to port this to the sabrelite board (http://boundarydevices.com/products/sabre-lite-imx6-sbc/) which also runs the imx6Q. Thanks
ReplyDeleteHi, in theory to port this you be able to untar the rootfs and just apply the correct kernel and uboot for the sabre-lite. That should be enought. The rootfs should be clean enough to be applied to any imx6 device.
DeleteBTW how good is the SATA interface on the sabre-lite?
I just tested your image on the Sabrelite board and booted it from SATA. No Problems there - tested with 320GB Western Digital HD and with a SSD.
DeleteYou did really nice work here! I would also be very interested to know the steps you've taken to get this done.
Hi Thomas, many thanks for testing on a Sabrelite board.
DeleteCan you share any metrics on realworld SATA throughput for imx6?
Yes sure - can you recommend me a program for that. And what data you would like to have?
DeleteA few weeks ago we let Android boot from the SSD and it started within 17 seconds.
Hi Thomas, sorry for the late response, could you 'dd' a large file to HD and report the throughput.
DeleteJust did a dd from SATA SSD back to SSD:
Delete741859936 bytes copied, 28.3656 s, 26.2 MB/s
Doesn't seem noticeably faster than conventional HD, but certainly much better than SD!
May have to do with performance mode option since ethernet is getting throttled back to 10M? Processor is certainly much, much cooler to the touch than when running Oneiric provided by Freescale/Linaro...
I checked the /boot/linux.config, it seems CONFIG_FUSE_FS is not set which causes the PCfmMan fails to mount FAT/NTFS partition in external storages.
ReplyDeleteCould you please provide a pre-compiled FUSE module,so it can be modprobed?
Hi, you can try with this module http://stende.no-ip.info/jas/fuse.ko.
DeleteThat works, thank you.
DeleteGood Day I followed your instructions contained here: http://jas-hacks.blogspot.com/2013/03/gk802-ubuntu-oneiric-preview-image_10.html to try and get a kernel with a working sound. However I was unsuccessful following your directions to a T. The device boots up and everything is fine but sound. Any help on getting a kernel with working sound would be appreciated, I would also be happy to pay you for your time.
ReplyDelete...
ReplyDeleteusbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
ALSA device list:
#0: imx-hdmi-soc
...
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
ERROR: HDMI is not ready!
asoc: can't open platform imx-hdmi-soc-audio.0
I think the issue with the sound is even though I downloaded and dd the latest kernel that you have hosted on the site, the device has not switched over to the latest kernel. What kernel version should the device be using? ie what dirty path, there are several in here.
ReplyDeleteI created an image. I hope this steps will make someone's life a little easier, please confirm that the image is working. and also please correct me if I am wrong.
ReplyDelete1 - download the compressed file
xubuntu_12_04_image.tar.gz (1.07 GB)
https://mega.co.nz/#!oNckCQpK!OLADESBScE6n_lO7UwVtgBXrncAevGpryg7kQSD-M7Q
2 - go to your Downloads folder
cd Downloads
3 - decompress file
sudo tar xvf xubuntu_12_04_image.tar.gz
4 - dd - convert and copy the iso file to your SD card
sudo dd if=xubuntu_12_04_image.iso of=/dev/
Notes: This image should work on 4GB and 8GB cards.
This image work perfectly.
DeleteBut what is the root password?
To get root access you do 'sudo su' and password is linaro
Deletethanks, that works
DeletePerfect, wireless works with the workaround but sound =\
DeleteDoes that image contain a working sound kernel?
ReplyDeleteHi, sound is working if the resolution is set to 1080 or 720p.
DeleteHello Jasbir thank you for the reply.. unfortunately I am still using the 3.0.35-02695 kernel that is not supporting sound, I see your latest kernel that was supposed to fix this being version 27XX etc.. even though I downloaded the latest uboot and dd it to my drive I am still using the 02695 kernel. How do I get this to use the latest kernel contained in the modules folder? I don't see a grub option, I do see where it says "bootable_kernel" do I copy over the kernel in the 027XX folder and call it this or just create a sym link to it?
DeleteHi, the kernel is located in /boot and is named uImage.
DeleteThanks for the reply Jas.. if you do a uname -a what kernel is the version I am supposed to be running on? I still am experiencing no sound and with 720p resolution. My uname -a shows:
Delete3.0.35-02695-ga09806b-dirty #54 SMP PREEMPT Mon Apr 8 09:51:34 BST 2013.
I have downloaded your latest uImage_nofreq file and installed using dd. Is their a direct download just to download the knerl file of uImage and install it that way if I am on the wrong kernel?
Hi, there was a problem if the uboot was configured with a resolution (ie 1280x720) then no sound. This can be overcome by not setting the resolution in uboot.scr file. See my next post about uboot. There is also a kernel patch to overcome this if you are happy to compile a kernel, see https://github.com/wolfgar/linux-imx/commit/4cb436dabaff24523a49f283a2fe4f07bf90067d
DeleteHello Jasbir, I downloaded your new uboot and the compiled internal uboot.scr file that does not have the resolution set my issue now is that my resolution is at 640 by default with no way of changing it. I had tried modifying the xorg.conf file with no luck on adding new modes, I would love to compile a kernel but I have yet to perform such an action the documentation I have found points to various Ubuntu flavors etc. If I could just send you a paypal payment of say $150.00 (or if more is needed just let me know) for a kernel that has this patch and has the necessary fixes for NTFS mounting that would be very worth it for me. Allowing the selection of resolutions other then the forced resolution would be icing on the cake.
DeleteAdditionally I would like to hire you for a need I have for this build please email rstamper print2cloud247 com I can make it worth your time.
6-why I see video very slow? BTW perfectly, but "in slow motion" what is the problem?
ReplyDeleteAny answer for this ? Seem like it doesn't support hardware acceleration .
Hi, thanks for this! Is it possible to have a kernel with tun/tap enabled for openvpn?
ReplyDeleteSomebody has it success to install xbmc.
ReplyDeleteI have an error:
xbmc-bin (>= 3:12.2-1-ppa1-precide) but it is not installable
Wolfgar has made excellent progress on xbmc, his default image is based on Yocto. http://forum.xbmc.org/showthread.php?tid=161793
DeleteI've just started testing his build for my xubuntu which still work in progress.
Be so kind as, prompt, somehow it is possible to Russify xubuntu 12.04?
ReplyDeleteYou should be able to install the russian language pack. See here https://launchpad.net/ubuntu/precise/armel/language-pack-ru-base.
DeleteAnd the sound somehow can be included in this version? There is no sound and all.
ReplyDeleteWith transfer dealt thanks. With transfer dealt thanks. And still the question how to expand the system section, gives out to Gparted a mistake.
DeleteSound should be working, see my uboot post http://jas-hacks.blogspot.co.uk/2013/05/imx6-gk802-uboot-multi-boot.html. It covers issues with sound and setting screen resolution.
DeleteThis comment has been removed by the author.
DeleteAnd what file to edit (to include audio), please tell me. Be kind, and that without a sound as something bad. Thanks in advance.
DeleteI've tried everything, still cannot get sound to work. Tried different uboot settings. Tried different monitors and tvs Still either defaults to 640x480 or 1280x1020 with no sound. Can someone compile a kernel with wolfgar's patch that works with xubuntu? I'm going to give it a try myself as I've tried everything else without success. I'm just not familiar with all this github stuff.
DeleteThat is it is necessary to rebuild a kernel in order that earned a sound?
DeleteYes apparently wolfgar's kernel patch is a workaround when edid doesn't work. I haven't been able to get edid to work so sound doesnt get sent over hdmi.
DeleteUpdated the uboot blog with a precompiled kernel and modules containing the patch. Could you test it?
DeleteThanks for the prompt response. It boots into VGA (640x480)when I have not set video in the boot.scr but when I try and set the video it fails to boot. Here is my boot.cmd without setting the video;
Deletesetenv root '/dev/mmcblk1p1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv video ''
setenv extra ''
setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'
When I try and set the video I just copied the video line from one of the other files;
setenv root '/dev/mmcblk1p1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv video 'mxcfb0:dev=hdmi,1280x960M@60,if=RGB24'
setenv extra ''
setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'
Do I need to change any other parameters? I'm going to try it on the internal SD card now with the updated kernel and modules to see what happens.
Hi Jas. Boots into 720p when using internal SD but still no sound. uname -a returns
DeleteLinux linaro-ubuntu-desktop 3.0.35-02695-ga09806b-dirty #54 SMP PREEMPT Mon Apr 8 09:51:34 BST 2013 armv7l armv7l armv7l GNU/Linux
which is an old kernel isnt it? I even tried downloading your new kernel again and copying it to /boot but no change.
Hi, in your uboot, video should be:
Delete'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
and the uboot file in your example trying to locate a kernel on the external SD NOT the internal one, which is may be why it is loading the old kernel.
Success! Thank you sound is now working with external SD. I didn't even pick up the 1280x960 just copied it from your 'external sd' boot.cmd example in the uboot post. Thanks again, my GK802 is now usable and not an expensive paperweight! uname -a now returns
DeleteLinux linaro-ubuntu-desktop 3.0.35-02708-g899792c-dirty #114 SMP PREEMPT Sun Jun 23 11:37:27 BST 2013 armv7l armv7l armv7l GNU/Linux
Ben Jones
DeleteGood afternoon!!! Be so kind as prompt please sequence of actions what to include a sound. My image of Xubuntu 12.04 is written down on SDcard and inserted into the internal slot (that is it at me as internal memory). What files need to be copied on it and in what place (For example. : in the Boot folder or in SDcard root)? And that has to be stated in these files.
Or it is necessary that Xubuntu would be on internal SDcard, and the boot.scr file on external SDcard? But what then still has to be on external SDcard except boot.scr? Or Xubuntu need to be written down on on external SDcard? I already got confused absolutely.
DeleteSequence of actions mine:
1) To insert SDcard in cards the reader of the laptop.
2) To write down an image of Xubuntu 12.04 from Linaro.
3) Team---sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev/sdb & & sync---to copy u-boot_multi_boot.imx on SDcard.
4) To create boot.cmd the file with contents
(setenv root '/dev/mmcblk1p1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv video"
setenv extra''
setenv boot_normal '$ setenv bootargs console= { $ console } root= { $ root } rootfstype= { rootfstype } video= of $ {video} of $ {extra}; mmc dev 1; e\
xt2load mmc 1:1 0x10800000/boot/uImage; bootm')
5) Team---mkimage - A arm - O linux - T script - n "boot" - d boot.cmd boot.scr---to create boot.scr (And now a question: where to me to copy it, in SDcard root? )
6) To take SDcard from the laptop, to insert into GK802 and to include.
Whether correctly I made everything?
The way I have mine set up is to have a small (1gb) sdcard in the internal slot with the multi uboot dd'd to it as per the instructions in the multi uboot blog. I cleaned all the partitions off it using gparted and dd's the multi boot to it once it was cleaned and reinserted into the pc.
DeleteIn the external slot I have my ubuntu rootfs with the new kernel in the /boot directory and the modules untarred in /lib/modules and compiled a boot.scr from this ;
setenv console 'ttymxc3,115200'
setenv root '/dev/sda1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv extra ''
setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; usb dev 0; ext2load usb 0:1 0x10800000 /boot/uImage; bootm'
Use the command as you mentioned mkimage - A arm - O linux - T script - n "boot" - d boot.cmd boot.scr
The boot.scr file then gets copied to your external sdcard in the root directory. I hope this helps.
Ben Jones!!!
DeleteThat is it is necessary for me:
1) to take SDcard on 2gb, to format it in ext4.
2) team (sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev / && sync) to copy u-boot_multi_boot.imx in a card root
3) to take SDcard from PC and insert in internal memory of GK802.
More on it has to be nothing except the u-boot_multi_boot.imx file in SDcard root.
Then on other SDcard (8Gb)
1) to write down an image of Xubuntu 12.04 (from Linaro).
2) to copy in folder/boot precompiled kernel, and впапку / lib/modules modules with the patch from the blog I.MX6 GK802 - Uboot multi-boot.
3) to create the boot.scr file here with such contents
setenv console 'ttymxc3,115200'
setenv root '/dev/sda1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv extra''
setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
setenv boot_normal '$ setenv bootargs console= { $ console } root= { $ root } rootfstype= { rootfstype } video= of $ {video} of $ {extra}; usb dev 0; ext2load usb 0:1 0x10800000/boot/uImage; bootm'
and to copy boot.scr in a root of the same SDcard
As a result at us two SDcard turned out. On the first SDcard (2GB) at us in a root the u-boot_multi_boot.imx file lies only. And on the second SDcard (8GB) at us an image of Xubuntu 12.04 with the files copied in it in folder/boot a kernel, in folder/lib/modules modules and in a root the boot.scr file.
Then we insert SDcard (2GB) into internal memory, and SDcard (8GB) in the external slot for memory cards and we start GK802.
Correctly I understood ?
That looks good except;
Delete1. when you issue the command sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev / && sync it should be of=/dev/xxx where xxx is the location of the sdcard (look at dmesg or gparted to determine the correct location)
2. use this as boot.cmd
setenv root '/dev/mmcblk1p1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
setenv extra ''
setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'
If you are using the external sdcard slot on the GK802 setenv root needs to be '/dev/mmcblk1p1 rootwait' not /dev/sda1
Make sure the boot.cmd does not have word wrap or carriage returns or line feeds in the last line - all one line only.
Ben Jones!!!
DeleteWith this of =/dev/xxx clearly at me at connection to the personal computer it is called / as dev/sdb
This point correctly (Two SD card have to be)?
As a result at us two SDcard turned out. On the first SDcard (2GB) at us in a root the u-boot_multi_boot.imx file lies only. And on the second SDcard (8GB) at us an image of Xubuntu 12.04 with the files copied in it in folder/boot a kernel, in folder/lib/modules modules and in a root the boot.scr file.
Then we insert SDcard (2GB) into internal memory, and SDcard (8GB) in the external slot for memory cards and we start GK802.
Ok that is what I did and my sound worked.
DeleteSomething isn't started anything. Precisely has to be so: in internal memory of sdcard (2gb) with only one u_boot_multi_uboot.imx file, and on external memory of sdcard (8gb) an image of xubuntu with a new kernel and modules from the blog u_boot_multi_uboot.imx and the boot.scr file.
DeleteTry using gparted to completely clear off the 2gb card, delete all partitions. Then dd the multi boot image to it with no partitions. I'll try and zip up an image of the rootfs xubuntu card today to make it easier as well.
DeleteThis comment has been removed by the author.
DeleteРоман Михеев the same happening to me... I do everything and it doens`t boot.
DeleteThen I downloaded Marco D ISO and DD to my SDCARD. It work's fine, but no sound. Wireless working with the workaround...
After doing this, I tried a lot times to boot the new kernel... Definitely I was doing something wrong...
Then I`d DD Marco's ISO again to SDCARD, then copied the new compile kernel and modules file, and then DD the new u-boot (multi-boot)...
So great, It working now with sound... but no wireless (even trying the workaround).
Now I'm DD(ing) Marco's ISO again to SDCARD... After that I will load on gk802 and try the workaround for wireless... once I've wireless working, I gonna put the new kernel and multi-boot again hoping it will works fine (sound and wireless)...
Well, my boot.cmd:
setenv root '/dev/mmcblk0p1 rootwait'
setenv rootfstype 'ext4'
setenv kernel 'uImage'
setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
setenv extra ''
setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 0; ext2load mmc 0:1 0x10800000 /boot/uImage; bootm'
I was forgetting to say: I'm using only one sdcard. This boot.cmd is to load rootfs in internal sdcard
Great! Now it's working perfectly!
DeleteSound OK, WiFi OK!
I gonna try to create an ISO.
Thanks a lot Jasber!
Many thanks. This is running on my WBQUAD wandboard. No wifi yet, but I suspect that was the kernel I built.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteOK I've made an image with working sound and a boot.scr setup for booting from the external SDCARD slot. You must have a card containing the uboot multi boot file dd'd to it according to the instructions in the multi boot blog in the internal sdcard slot. Once this is prepared then prepare the external sdcard containing the rootfs and boot.scr file.
ReplyDeleteDownload this file
xubuntu_sound.img.7z (767.9 MB)
https://mega.co.nz/#!xg1AhRQR!PUWmnBixdDxXMtprL_t3KTxEsa9YnX6vX-usOEXxGXI
install 7zip if you don't already have it;
sudo apt-get install p7zip-full
decompress the image file;
7z e xubuntu_sound.img.7z
dd the image to your sdcard (8GB);
dd if=xubuntu_sound.img of=/dev/ bs=1M
Put the sdcard into the external slot and it should boot with working sound at 1280x720!
This comment has been removed by the author.
DeleteAll, thanks for the image of the disk, but it turned itself off already, but there were some issues. If you set the screen resolution of 1920x1080, the system begins to slow down. So it should be? And how to install flash player for chromium, but it does not play youtube?
DeleteInstall lightspark. It plays youtube but it's a bit laggy. Not sure if its because WebGL is not working in chromium yet?
DeleteI have just installed Enlightenment (E17) and it seems to run nice. Never tried 1920x1080.
Please tell me how you are installing the Enlightenment (E17). Works without bugs? Russian locale is in it? Thanks in advance.
DeleteBen Jones
DeleteEstablished E17 and how now to start it? It is necessary to remove in the beginning probably XFCE4 and at reset it to be started by default?
I also installed GDM to replace lightdm then you can choose which session type you want to run (including enlightenment). For some reason I was unable to configure lightdm to work properly with enlightenment and I couldnt bring up a chooser window to log in to different user. It would only allow me to log into 'linaro' automatically or not start xwindows.
ReplyDeleteSetup:
ReplyDelete-2gb internal sd: u-boot_multi dd'ed to SD card.
-8gb external sd: dd'ed xubuntu-sound.img from Ben.
Build boot.scr
with
'-' setenv root '/dev/mmcblk1p1 rootwait'
'+' setenv root '/dev/mmcblk0p1 rootwait'
rest is the same as Ben suggested (or like in the blog post above).
I get a kernal panic like:
http://pastebin.com/9r9JehxP
NOTE: I change the rootfstype in boot.cmd/scr to EXT3 because on the 4th try I used windows Win32DiskImager to "dd" the image to the SD card. EXT4 was not an option to format it with my current windows tools.
Anyways. Anyhow I try to dd or copy, no matter which image/tar I use I always get the same kernel panic.
If you look at your trace file,
Deletenoinitrd console=ttymxc3,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 ip=off
the kernel args passed inidicate it is trying to boot from /dev/mtdblock. This means that the kernel wasn't passed any arguments and uses default. It would indicate that it is not finding the boot.scr on the external SD card. Did you copy boot.scr to the external SD card?
Yeah, as far as I can remember I did. But reformating and retrying gave me some other errors. E.g. not even finding the kernel at said position. I guess this comes just as I am trying too hard and I am missing the forest for the trees. Will report back.
DeleteOkay so I am starting off with an blank SD card. It is formated to ext4 with gparted. It shows it is used by 3% after formating. Is this correct ? BEcause the kernel should be some fixed position I thought.
Deletethe of=/dev/ , should it be /dev/sdb or /dev/sdb1 ?? Partition or device ?
After formatting the external SD it should have little space in use. On the external SD card, the kernel image (uImage) should be copied to the /boot directory after extracting the rootfs, if it is not already there. The boot.scr should be copied to /. There is NO fixed position for the kernel with is uboot.
DeleteFor the internal SD card, when formatting ensure you leave some free space before the partition (eg 15MB) for uboot. Then 'dd' the uboot to it. Nothing else should be copied to the internal SD.
This comment has been removed by the author.
DeleteOkay finally got it working.
Delete1.) Had word wraping and line spacing issues.
2.) Removing the SD card without umount wiped the boot.scr from the SD... strange.
3.) the code snippet from multi-boot-blog-post had an "e\xt2load" option which, of course is not an option but a syntax mistake by me....
Thanks !
This comment has been removed by the author.
ReplyDeleteHi Jasbir,
ReplyDeleteRecently Wolfgar has released new armhf XBMC build for Vandboard.
Can u make Xubuntu image with 4.0.0 kernel and Wolfgar's rootfs for GK802?