Ubuntu mini210

CarlosCortes
how i can install ubuntu in mini210s i try to install but i cant....

davef
You have to give a bit more information about what you have done, maybe
which tutorial you are following and/or the error messages you get.

CarlosCortes
i try to do than this tutorial sais, but i don't know why can't do it.
http://armworks.cc/index.php?title=Mini210S_ubuntu_sd

when i finished the steps i put de SD cart in the mini210 and start the
boot, first the zimage look great and load without problems, when i put in
nand and turn off the system thats the problem, the display is white and
its all if you know how i can fix that tell me please.

Reggie
Which screen are you using?  You have to tell superboot when you're burning
 the kernel to nand, in the friendlyarm.ini file, change LCD=H43 to
whatever screentype you're using.

CarlosCortes
doesn't work!

i conect hyperterminal and the error msg was 

NAND Mode: 547694D5 Unknown NAND Mode, Halt...                             
    

what is wrong?

Reggie
Try using superboot.bin from one of the older DVDs from the ftp site?

CarlosCortes
could you install ubuntu in your mini210s????

Reggie
yes, I wrote that tutorial.  The problem that you have appears to be with
superboot on the SD card, use superboot from the mini210S dvds, you can
find the information to login to the FTP site in the downloads section at
the top of the page.

CarlosCortes
Thanks! i'll try using other superboot, can i write you an email or
someting if can't install ubuntu?

Reggie
I'd prefer to discuss anything about the tutorial here, then if there are
any issues that might be relevant to anyone else, they'll find the info on
here :)

CarlosCortes
Hi reggie, i changed the superboot file, i downloaded for ftp page, but
doesn't work :( because the diferents superboot files that i flashed in the
sd card, when i put the sd card in the mini210, the led1 doesn't flash, but
if i flashed the superboot file that mini210A.iso contains in thant case
the led1 flash, i did all off the steps in your tutorial its important to
me install ubuntu because i want to do someting with puredata for my tesis
:( sorry for the inconvenience

Reggie
did you use sd-flasher to put superboot on the sd card?  If so then all you
can do is run that from the SD card right now.  If you want to burn it to
nand, you have to unpack the rootfs (as root) to your harddrive then repack
it using mkyaffs2image-mlc2 from the mktools archive on the dvd.

CarlosCortes
Yes i do, i use sd flasher to put superboot on the sd card! how said your
tutorial, if i use mkyaffs2image-mlc2 can i create a img? for ubuntu, sorry
but i dont understant :( im noob in that kind of topics i understand that i
could do for myself but mini210s has a little information and a little
wikis, i dont undestand why if i did all of yor tutorial says , cant
install ubuntu

Reggie
The tutorial is purely for running ubuntu from SD card.  

To run from nand you will need to unpack the mktools-20120518.tar.gz folder
and look for the mkyaffs2image-mlc2 application, then copy it to /usr/sbin/
and make sure it's executable.

you then need to unpack the ubuntu-desktop-1204_20120628.tgz file (You
*must* do this as root!):
sudo tar xzvf ubuntu-desktop-1204_20120628.tgz

once you've done that, you then need to repack it using the
mkyaffs2image-mlc2 app(you must also do this as root):
sudo mkyaffs2image-mlc2 ubuntu-desktop ubuntu-desktop-mlc2.img

This will take a while depending on how fast your hard drive is, once it's
done you can use the normal method to burn ubuntu and the kernel to nand
(instructions for burning to nand are in the user manual).

CarlosCortes
Oh i understand, i will to try this, thanks!

other question if i want to run from sd card how do that?

Reggie
It should just work following the instructions in the tutorial, if you want
to run the kernel from SD card as well, you'll have to work it out, I
haven't got that far yet, I've been doing other stuff but it shouldn't be
difficult.

CarlosCortes
reggie have you and ubuntu img????? if you can send me that img that will
be great! i am trying to unpack mktools but when in the console i write
sudo mkyaffs2image-mlc2 ubuntu-desktop ubuntu-desktop-mlc2.img then next
problem apear "sudo: unable to execute /usr/sbin/mkyaffs2image-mlc2: No
such file or directory" but i copy the mktools files in /usr/sbin/

Reggie
sudo chmod a+x /usr/sbin/mkyaffs2image-mlc2

CarlosCortes
i try to do an ubuntu image .img with a windows software "imageBurn" but
dosent work :( sorry for my qestions

Nazito
Hey! can you send me an ubuntu .img file?
Tnks!

CarlosCortes
sudo chmod a+x /usr/sbin/mkyaffs2image-mlc2 i do that and nothing happen
the problem persist reggie i cant make the image file i know im noob :(

Reggie
you need to strace /usr/sbin/mkyaffs2image-mlc2 and see which file it's not
finding.

CarlosCortes
CarlosCortes@Carlos-Satellite-Pro-L650:~$ strace
/usr/sbin/mkyaffs2image-mlc2
execve("/usr/sbin/mkyaffs2image-mlc2", ["/usr/sbin/mkyaffs2image-mlc2"],
[/* 39 vars */]) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8e306ad000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such
file or directory
) = 40
close(3)                                = 0
munmap(0x7f8e306ad000, 4096)            = 0
exit_group(1)                           = ?

look thats was the msg !
:S

Reggie
try running the mkyaffs2image-mlc file as sudo or su -i.

if not you can try 'ldd /usr/sbin/mkyaffs2image-mlc' it will tell you if
there are any missing libs.

CarlosCortes
reggie i dont know why in my pc cant do that you write, but i want to tell
you its a favor please do you have a ubuntu image?? its easy to me , my
problem its the time! thanks its a personal favor please tell me.

Reggie
Sorry, no, I cannot upload the image, I don't have the time/bandwidth.

CarlosCortes
ok reggie thanks!

Nicolas Arias Sabogal
Hi! reggi could you load an ubuntu img??? please!!!!
i try install ubuntu to like CarlosCortes, 

:)

Reggie
Starting to sound like a broken record, no I cannot upload an image.

You guys need to figure out some of this stuff for yourselves, I'm not
being harsh or mean, these are things you need to learn to be able to do
this kind of thing successfully in the future.

1. learn how to use the files in the mktools tarball, they're pre-built, so
I'm guessing that they've been built for 32bit systems, if you're not using
a 32bit version of Linux as your development system, this will be why they
don't work, you probably need to install some 32bit libs or install a 32bit
version of Linux.

2. Work out what type of nand you have, all I can tell you is my mini210S
boards have 4GB of MLC nand, any of the mktools apps. with -mlc2 in the
name work for that nand but you will specifically need to use
mkyaffs2image-mlc2 if you have a mini210S 2GB/4GB mlc board.

Other than that, all you need to do is follow my post above on how to
create your own image.

CarlosCortes
Ok i have ubuntu 64bits! i think that is the problem!!!!! i will to try
that!!
thanks! o other thing do you have a post to create a image?? can you give
me the link????

Reggie
http://www.friendlyarm.net/forum/topic/4922#24185

CarlosCortes
Reggie i can make the ubuntu img!!!

my other question is, i can use the kernel in the folder images18714.rar 
an the ini and superboot file? toburn in nand?

Reggie
probably :)  You should be able to use the superboot and kernel that are in
that file, but for the FriendlyARM.ini file you can use the linux commmand
line from a normal setup.

CarlosCortes
reggie i have a question, when i make the img, i write that code

1.sudo mkyaffs2image-mlc2 ubuntu-desktop ubuntu-desktop-mlc2.img

or


2.sudo mkyaffs2image-mlc2 ubuntu-desktop/* ubuntu-desktop-mlc2.img


i make the img with the fist code and doesntwork :S in the system appear
"yaffs2 failure image"

when i try the second ,that appear in the terminal 

"mkyaffs2image: image building tool for YAFFS2 built May 18 2012
Could not open output file ubuntu-desktop/boot"

i have a mini210s 2G

Reggie
ok, I'm just double checking on my unit and that bit failed for me too, I'm
trying a different method but all I am actually doing is following the
instructions for creating an mlc2 image from the user manual.

You've also got a much bigger issue, your nand is 2GB, the
ubuntu-desktop-mlc2.img you created is 2.1GB, it's never going to fit.


there is another way to get ubuntu onto a mini210 (any size nand) although
it's untested, you can do a 'debootstrap' style install of ubuntu
rootstock(not sure if the name is right, it was a while ago that I did it)
which should give you a very small, starting point for ubuntu, it won't
have a desktop but it will be a very small image, so it will fit on nand
and it will have apt-get running, from there you can install whatever
desktop environment and software that you like.

Reggie
At the moment, I would wonder whether it's worth while having ubuntu on
nand.  

There are a few reasons for this:

1. at this stage the ubuntu image is still very raw.

2. if you translate the readme using google, you will see that some stuff
doesn't work, touchscreens, all of the codec support, cameras, 2d, 3d all
disabled in the ubuntu defconfig.

3. At this stage, anything you fix will need to be reburnt to nand,
personally, I'd rather work with ubuntu on an SD card, cheap to replace,
easier to work with the files, no need to waste time creating images, no
need to burn.

There may be another way to get the image onto nand but you'd need a
working rootfs on SD to achieve it, this is just a theory but once you've
got ubuntu running from sd card, you should be able to apt-get install
mtd-utils and possibly be able to burn the ubuntu-desktop-mlc2.img to
/dev/mtd4 using nandwrite.

CarlosCortes
its dificul to me,because i dont have experience in ubuntu, and in that
type of systems, if i want to install debian its more easy or its the same 
i try to install in nand because for me its better i dont have idea how
install in sd, i dont have idea how!

Reggie
The very first tutorial that you said you followed IS for booting from SD,
if that doesn't work for you, I don't know why.

Reggie
The only other thing that i can think of is the superboot.bin, try one of
the latest versions.

CarlosCortes
reggi i downloaded ubuntu server from ftp site, i make the image, and save
in the sd card, after that i put on the mini210s in nand mode , intall
kernel and i could install ubuntu server.img, but the problem is when it
finished the instalation, i change switchs and turn off and turn on the
system but the toush screen is white and nothing happen , i was try burn a
lot of superboot files, but anything work!! what do you tink abount the
white screen?

Reggie
I don't think anything about the white screen, it means nothing at all
without some extra context but it feels like we're going round and round in
circles here.  I'm going to tell you to try a different superboot and
you're going to tell me it comes up with a nand error.

Reggie
When you burn an image or boot the mini210 you should have serial
connected, this gives you an idea of what went wrong.

NeoChapay
How to configure Xorg for multitouch cataptive screen on ubuntu ?

CarlosCortes
yes i tink that to, i always try with a serial conected, the message is
NAND Mode: 547694D5 Unknown NAND Mode, Halt...

and i try with other superboots, at the past dvd, and your toturial to
install in sd, i did all the steps in order maibye you can tell me what
superboot file used

Reggie
I used the superboot that came in the images_18714.rar file.

WalterW
Reggie: The link to armworks.cc does not work...Is that the tutorial that
you are talking about?

pedritosloco
in your tutorial its necesary do all that things in x32 bit Pc???? or u can
doing in x64 bits pc??????

pallly
Hello,
armworks.cc Wiki was eaten by hackers according to andahammer.com ... Does
the tutorial exist somewhere? If so, could you post a link to it?