I managed to get Ubuntu running using Yocto and my custom uboot for my PCB. I don't know if it's correct or just a hack, and still not perfect, but a good start. Oh, and is there any way FOR ME to change the "assumed answered' status on this thread??
Here's the steps (from my notes) - I'd still like to figure out how to install apps via Ubuntu Software center and/or "apt-get", and also upgrade it to 12.04 or newer. .. see ISSUES at end of post.
-----
Started with a yocto SD card (fsl-image-gui - 3.0.35?) inserted into PC (Ubuntu 12.04)
Gparted SD's 1GB partition to 16GB (at least 4GB?) and format (erase (ext3 or ext4?))
d/l oneiric.tgz from freescale.com -
(SD card is at /dev/sdh in this example!!!)
sudo mkdir /mnt/hd
sudo mount /dev/sdh2 /mnt/hd
cd /mnt/hd
sudo tar --numeric-owner -xzvf ~/Downloads/oneiric.tgz
.. waiting...
cd ~
sudo umount /dev/sdh2
NOTE
The option "--numeric-owner" may be unavailable if you
use busybox. Because this option is mandatory, make sure
that you use the full blown version of tar.
Boot with oneiric rootfs. The password is linaro in case you cannot log in with the
linaro user name and without password.
ALL COMMANDS BELOW HERE ARE EXECUTED ON THE HARDWARE
Install the FSL packages on the target. You should already have copied all the *.deb
files that come along with the released BSP to the target board. The deb files of each
release can be located in the demo image package:
JUMP DOWN--->>>
get error on :sudo dpkg \--force-architecture \-i *.deb
fix ?:
cd /var/cache/apt/archives/
sudo dpkg \--force-architecture \-i *.deb
.. waiting ...
sudo depmod
WARNING: Couldn't open directory /lib/modules/3.0.35-4.1.0+yocto+gbdde708: No such file or directory
FATAL: Could not open /lib/modules/3.0.35-4.1.0+yocto+gbdde708/modules.dep.temp for writing: No such file or directory
ls /lib/modules/
3.0.35-2666-gbdde708
hmmm... stopped here
copy /lib/modules/3.0.35-2666-gbdde708 to /lib/modules/3.0.35-4.1.0+yocto+gbdde708 ??
OR link, OR rename/move?
>>>> TO HERE (this fix worked, but is it right???)
MADE LINK:
cd /lib/modules
ln -s 3.0.35-2666-gbdde708/ 3.0.35-4.1.0+yocto+gbdde708
date
hwclock
date --set="10 Sept 2014 5:19:00"
hwclock --systohc
cd /var/cache/apt/archives/
sudo dpkg \--force-architecture \-i *.deb
.. waiting ...
sudo depmod
sync
sudo halt
>>> SYSTEM RESETS
To reserve the DMA buffer for video playback, ensure that the /proc/sys/vm/
lowmem_reserve_ratio value is 1. This setting can be added into /etc/rc.local:
echo 1 1 > /proc/sys/vm/lowmem_reserve_ratio
11.10 is running at this point!!
u:linaro p:linaro
STILL ISSUES...
'do_release_upgrade' took about 3 hours then failed.. set clock first?
ubuntu software center doesn't seem to install anything. VLC? QLandKarte?