Tiny4412 with Linux

jmontoliu
Hi.

I am unable to install and boot Linux to a SD.

I am following this guide http://www.armdevs.com/note/note167.html, but
nothings happens when I insert SD and power on.

I need more info about it.

Could you help me please????

Kind regars,

davef
If you don't get any help here (or armdevs) I'd suggest having a look at
the Odroid U3 forum.  There has been some traffic recently on booting from
a SD on there.  As it is the same family of processor it is likely to be a
similar process.

Good luck!

lsk
1. make sure you flashed SD card success, with no error.
2. make sure you set your board to SD boot mode.
3. make sure FriendlyARM.ini you set is correct and there're files in your
SD where the paths are pointing to.

or give us your FriendlyARM.ini and list of files in SD/images/linux/

jmontoliu
You have gived me solution!!!!!

I have used SD/linux not SD/images/linux

It works now!!!!

jmontoliu
Now, I need to know:

* What distribution am I using?
* How to upgrade ans install apps? (apt-get, opkg, ...)
* More documentation please

Thanks for your help

jmontoliu
Is it possible to install Ubuntu????

lsk
Good to hear that,

Docs you installed must tell you which distribution you're using, see where
you get the source.
About installations you must know first what you want to do, about apt-get
I'm not sure about that but if I want to do something I'm gonna config my
kernel and file system and re-install it.

I don't know about docs of 4412 cause I didn't work on that, but if what
you want is just basic I'm pretty sure you can learn from the others like
2440, 6410, etc. It's much easier to find.

Yes you can. 
But like the others, you have to make sure you're using the right version
that works on your device and all file set is correct for install.

lsk
More: In CD you get the kernel (zImage) there'll be a file
linux___.tar.gz(or.tgz) that's gonna tell you your linux version.
(Cause this file is used to compile your kernel.)

jmontoliu
Ok. Thank you for your answers.

If I understand ok. The components necesaries for Linux installation are:

* Kernel (zImage)
* rootfs
* Ramdisk

Then if I want to install (for example) Debian, I need to find or compile
my own kernel for arm9. Is this Ok???

Kind regards,

lsk
Yes, that's all.

Found this, maybe you can travel more.
https://code.google.com/p/mini6410-debian/wiki/Tutorial

Josep Montoliu Sanahuja
Hi again lsk.

Everyting es working for me except:

10. Flashing kernel and bootloader

Put the flash card into your Mini6410 board and set it to SD Boot (S2 up).
After powering up, you'll hear a beep and after some seconds it will beep
forever. This means, in this case that everything went well, and you can
power it down. 

>> Until this, all is working

Insert the system card and boot it again after setting the board to NAND
boot (S2 down). On your serial terminal you'll see the kernel loading and
hopefully you'll be greeted by a prompt looking like this:

# # 

>> I can't get serial terminal working

Kind regards,

lsk
Are you sure your PC is able to connect serial? Is the com port shown?

Could you explain how "Not working" of it,
I'm not sure which type of serial cable your device uses.

for example, 2440 and 6410 different cable that TX and RX of the cable must
be swapped. If you use wrong, there'll nothing on screen. 
Is this case?

jmontoliu
Hi again.

Thanks for your help.

COM port are properly connected. I receive information about bootion from
SD and installing Linux. 

It behaves acording to the tutorial explanations, but when I change boot to
NAND amd put second SD whith roofs, nothing happens.

Kind regards,

lsk
On compiling kernel, did you use config proper to your device ?
Check your LCD, NAND flash.

Or are you sure every single step you did that finished with no error?

High possibility of no error but nothing happened is cause of wrong config
used.

lsk
Maybe you can try all files that for 2440's env, I'm not sure 6410's stuffs
work on your device or not.

Cheers.

lsk
Or if there're some similar stuffs that come with your device(4412), try
them.