Welcome, Guest

Author Topic: How to install Debian on NAND in A20-MICRO?  (Read 67346 times)

jlucius

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-1
Re: How to install Debian on NAND in A20-MICRO?
« Reply #30 on: June 27, 2014, 01:56:56 AM »
Thank you for your help,

The NAND driver is the "nand_driver" file of the "nand_driver.gz" ?
If I understand correctly, the command line "tar-xvf nand_part.gz | dd of = /dev/nand" and "sync" install the driver in the NAND then after a reboot the partions /dev/nanda,  /dev/nandb, /dev/nandc are recognized by the system ?
But I successfully uncompressed nand_part.gz into /dev/nand and reboot

No the NAND first has to be recognized by the kernel. if you boot from sd-card you should have available /dev/nanda for example. if it is not htere, the kernel driver is missing and you need to compile your own kernel or get the one from the post above.

mauris

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #31 on: June 27, 2014, 12:40:48 PM »

jlucius

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-1
Re: How to install Debian on NAND in A20-MICRO?
« Reply #32 on: June 27, 2014, 02:30:21 PM »
I use this image for the SD-card https://docs.google.com/file/d/0B-bAEPML8fwlX2tYS2FmNXV5OUU/edit

do you have an entry that shows /dev/nanda (ls /dev/nand*) ?

If not please replace your kernel by this one:

https://docs.google.com/file/d/0B9o2WVSuik0ISk5kdlN2c1hRVWs/edit

(mount sd card or enter in a windows system on first partition and replace uImage file)

then try again

pfandfrei

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #33 on: June 27, 2014, 08:28:20 PM »
Installed dabian to NAND today, everything is fine now.

Some tips if you want to try for yourself (it costs me some extra time):
- be aware that you have to reinstall Android first, if you get any trouble while installing and you can not proceed
- you can use the latest image and change the uImage file from post #20
- be sure to mkdir.vfat installed, if not first install dosfstools packet
- be sure to rsync installed, if not first install rsync packet
- be sure you can create /mnt/nanda and /mnt/nandc dir
- double check every step

good luck!

mauris

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #34 on: June 27, 2014, 11:18:17 PM »
Thank you for your help again,

When I execute mkfs.vfat ==> error : unable to get drive geometry, using default 255/63

pfandfrei

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #35 on: June 27, 2014, 11:29:26 PM »
I had the same message and ignored it. Was no problem at all

mauris

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #36 on: June 28, 2014, 12:09:30 AM »
With the command rsync -avc bootloader/* /mnt:nanda error ==> Operation not permitted, but I'm login as root

pfandfrei

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #37 on: June 28, 2014, 08:50:11 AM »
try "sudo rsync ..."

mauris

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #38 on: June 28, 2014, 12:36:15 PM »
No error but after a reboot the card not boot from the NAND

pfandfrei

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #39 on: June 30, 2014, 09:23:19 AM »
That's strange, it worked for me. I think you missed something. Try again and start with reinstlling Android. That's what I had to do when I realized, that mkdir.vfat was not installed in first try.

kurzon

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #40 on: July 07, 2014, 10:59:02 PM »
Does anyone have this "olinuxino-a20-flashinstall.zip" file please? The link is not working.

Alex293

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #41 on: July 11, 2014, 03:59:15 PM »
Hi guys, i have the same problem. I made a debian image but i can't dl your file to put it onto my nand. Can you fix your link to olinuxino-a20-flashinstall.zip file please ? Or can someone share it.
(edit) at least can someone dd his nand ?
Thanks

Sincerely, Alexis
« Last Edit: July 11, 2014, 04:01:47 PM by Alex293 »

Mad Demus

  • Newbie
  • *
  • Posts: 9
  • Karma: +6/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #42 on: July 12, 2014, 08:57:42 PM »
Does anyone have this "olinuxino-a20-flashinstall.zip" file please? The link is not working.

Should be working again. The damn virtual server have some issues from time to time, but now it is alive :-)

kurzon

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #43 on: July 12, 2014, 10:13:46 PM »
Thanks a lot Mad Demus.

Alex293

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
Re: How to install Debian on NAND in A20-MICRO?
« Reply #44 on: July 15, 2014, 11:16:53 AM »
Thank Mad Demus, i'll try it today