Jump to content

Search the Community

Showing results for tags 'nand'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Events/Announcements
    • General Discussion
  • General
    • Learning Center
    • Linksprite Operating System Images
    • General Discussion
  • LinkSprite pcDuino
    • Bug Report
    • General Discussions
    • pcDuino9S
    • pcDuino9 Mini and Kit
    • pcDuino Lite Wifi
    • pcDuino Lite
    • pcDuino1/2
    • pcDuino3
    • pcDuino3S
    • pcDuino8 Uno
    • Android
    • Ubuntu
    • Programming
    • Community
    • Arches General Discussion
    • Acadai General Discussion
  • LinkNet
    • ONetSwitch
  • Camera
    • JPEG Camera
  • RFID
    • Integrated UHF Far Distance Readers
    • Cottonwood UHF RFID Reader
    • NFC RFID
  • Powerline Communication
    • Spyder
    • PLC with SimpleMAC
    • McLaren
    • Mamba
  • Arduino Shields
    • General Discussions
    • 16x2 LCD Shield
    • Anaconda WiFi Shield
    • Bluetooth Shield
    • CuHead Pro With Airplay/DLNA Shield
    • GSM/GPRS/3G Cellular Shields
    • GPS SD Shield
    • CuHead/Diamondback/RedBack WiFi
    • RS 485 Shield
    • Touch LCD Shield
    • Linker Kit
  • Deepcam
    • General Discussions
    • SDK Support
  • LinkNode
    • D1 ESP8266 Arduino Compatible
    • BLE 4.0 Mbed compatible sensor tag
    • DIY GPS Tracker
    • Weather Station
  • PetKollar
    • General Discussions
  • Wireless, GPS, Cellular
    • WiFi
    • GPS
  • Robotics
    • General Discussions
    • Rover
  • Raspberry Pi
    • RS232/GPIO Shield for Raspberry Pi
    • RS485/GPIO Shield for Raspberry Pi
  • STEM Education
    • General Discussion
  • Projects
    • General Discussions
    • Gaming
    • OpenCV/SimpleCV
    • Networking and Servers
    • Media Centers
    • Robotics
    • CNC
    • Lighting
    • Virtual Reality
    • Internet of Things
  • Sourcing with LinkSprite
    • General Discussion

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 7 results

  1. LS-Support-12

    Is it booted from SD or NAND?

    I have seen this link. However, after cloning NAND to SD and restarting, my result of 'df -h' is different from both photos in the tutorial (my output is here). I think that my pcDuino booted from SD. I have two reasons. First one is that /dev/mmcblk0p1 is listed on the output of 'df -h'. Other reason is that when I run board-config.sh, I have no option to clone my system to SD card anymore. However, I would like to hear your opinion, is it booted from SD or NAND? Also, why the output I have is different from both outputs in the tutorial?
  2. Hi, I would like to know how to create a NAND flash image for pcduino3 after backing up NAND partitions using board-config.sh > make-mmc-boot. Thanks in advance, bharath
  3. How to reflash (flash) pcDuino? How to (re)install Ubuntu and kernel on pcDuino (permanently, into NAND)?
  4. I am trying to burn the Lubuntu 14 NAND image using Ubuntu with dd method. I manage to burn it successfully. After I install it (led is blinking some time and stops), it does not want to boot. Did anyone managed to install Lubuntu 14 using dd method? I am entering these commands in terminal: sudo dd if=imagelocation of=microSDlocation bs=1M My microSD card is Transcend 16GB. I manage to install Ubuntu 12 using dd and Lubuntu 14 using Windows, so the memory card looks fine.
  5. After you have read http://forum.linksprite.com/index.php?/topic/4036-hardware-pcduino3-basics/ and http://forum.linksprite.com/index.php?/topic/4040-linux-ubuntu-pcduino-3a-installation-to-nand/ it's time to prepare a microSD card using the fresh installed and unmodified NAND LUbuntu system. Such system is used because a range of users claim that they can't get the ethernet connection to a workable state using other LUbuntu installation images. Requirement =========== You need either A. a microSD card larger 4GB if you intend to your pcduino without any external SATA drive (see first link above) or B. a microSD card of 4GB in size Class 2 or class 4 when transferring the linux system to a hard disc. Here the microSD card is used as the boot medium because the system that resides on the NAND flash can not be modified (until someone finds a way on how to do it most probably by modifying the uboot programs). Transfer the NAND installation ============================== The first boot into the fresh installed linux system will show the pcduino logo followed by a lot of kernel messages. Following that a message appears informing you that the internal NAND flash will be resized. Although the resize process takes a while it's now time for you to play eagle by keeping one of your fingers flying above the F8 key of your keyboard. As soon a the resize process has finished a line in red letters will appear. Don't try to read it instead hit the F8 key now. If you're waiting to long you will miss this chance because very fast the system goes into the next boot step. There is no waiting period at this time. Your success will result in the display of the board configuration menu. Here you will 1. Select your time zone --------------------- Move your cursor down to the menu item set_timezone you'll see the red line that was on the first item of the menu following your cursor down action. When the set_timezone line is reached it will be red and you hit the enter key. On the following menu select the appropriate time zone for your computer. 2. Select your keyboard layout --------------------------- In case you don't own an US english keyboard you now want to change the layout. Move the cursor down to the menu item set_keyboard and select the options that apply to the keyboard you use. Except for the language all other values displayed should give you a working layout. 3. Copy the linux system from NAND flash to microSD card ----------------------------------------------------- Move the cursor down to the menu item make_mmc_boot you'll be prompted with the following question Do you want to clone your system from nand flash to sdcard? Need to insert an empty sdcard ( >= 4000 MBytes ) <Yes> <No> Insert your microSD card into the card reader of the board. The <YES> field is already highlighted in red simply hit enter. You'll get the following question Do you really want to format this card? The <YES> field is already highlighted in simply red hit enter. The following messages are displayed making partitionns on /dev/mmcblk0 ... copying nandd to sdcard, will take abount 10 minutes .... Your monitor might go black twice because of the internal monitors power save settings. Press the <ALT> key to prevent monitor sleep mode. When the process is done you should get the message Clone system from nand to mmc card succeed! In such case the cursor is on the <Ok> field just hit <ENTER>. Press the <TAB> key two times and the <DONE> field is highlighted in red. Press <ENTER>. Congratulation you now have a microSD card containing a mirror of your linux system. If you intend to use your system on an external hard disc you are done here and should read the How To that explains such installation in a separate post. Else you want to reboot your pcduino and take it to use.
  6. This How To should describe how to install LUbuntu on the pcduino 3A NAND flash memory in an easy way and use such installation for later installation to external media. Although someone may think that the kernel and linux operation system images are to old they are used by purpose. 1. someone wants to overcome the problems that might appear with an older linux version installed on the delivered board when using microSD cards and 2. someone wants a stable working system up and running including a working LAN connection without searching for fixes for this and that problem Requirements ============ You need 1. a separate computer that has a linux distribution or an alternative operation system like M$ Windows installed and approximately 5GB temporary storage space 2. if your computer lacks such device you need an external device that can read and write microSD cards and connect it to your computer 3. one microSD card of 2GB in size. In case you later want to operate the system only on a microSD card you better get a 16GB Class 10 card as a minimum. Should you intend to later run the system on an external 2.5" hard disc drive or Solid State Disc or an external 3.5" hard disc drive a 4GB Class 4 microSD card is the selection 4. one USB memory stick with 1.8GB free space and formatted using the vfat file system 5. the kernel image for microSD card dated 07-21-2014 offered by LinkSprite on http://www.linksprite.com/?page_id=855 Here is the direct link to the image https://s3.amazonaws.com/pcduino/Images/v3/20140721/pcduino3_a20_kernel_dd_20140721.img 6. the archiver 7-Zip installed on your computer For linux installations such package is either already installed by the distributor or you use your packet management program to install 7-Zip. Most likely the package is named 'p7zip'. For installation of alternative systems you might find something at http://www.7-zip.org 7. the LUbuntu NAND image for USB memory stick dated 04-30-2014 offered by LinkSprite on http://www.linksprite.com/?page_id=855 Here is the direct link to the image https://s3.amazonaws.com/pcduino/Images/v3/20140430/pcduino3_ubuntu_20140430.7z 8. only for the alternative operation system M$ Windows you need the program 'win32diskimager' offered by LinkSprite on http://www.linksprite.com/?page_id=855 Here is the direct link to the image https://s3.amazonaws.com/pcduino/Tools/win32diskimager-v0.7-binary.zip It needs to be installed to your system. Before you download the above stuff you need it is recommended to make a new directory on your computer in order to remember were you've put the stuff. Preparation =========== It is suggested that the computer in use for this step is already switched on and working 9. Write the kernel image (see 5 above) ------------------------------------ M$ Windows users will find some information on http://www.pcduino.com/wiki/index.php?title=Book until such description is added to this page. a. using a linux operation system Login into your system. In case you're not running a command line based system you need to open a terminal window that is offered by your graphical user interface. aa. RPM based installations (openSUSE,Fedora, PCLinuxOS, etc...) On your command line type su -l as now requested by the system type the password for the user 'root' ab. Debian based installations (Debian, Ubuntu variants) On your command line type sudo -i as now requested by the system type the password for the user 'root' Insert your microSD card into the card reader device. On a graphical user interface you will most probably be confronted with a pop-up message that offers you to mount the microSD card. Do not mount it!! Now you need to know which device is claimed by the system for the microSD card. On the console type tail -n 20 /var/log/messages and look for the lines similar to # sd 6:0:0:0: [sdc] 30310400 512-byte logical blocks: (15.5 GB/14.4 GiB) and # mmcblk0: mmc0:1234 SA16G 14.6 GiB The first line in the example above shows that a 15.5GB microSD card was just recognized and such card can be accessed as [sdc] and translates to /dev/sdc for our purposes. The second line in the example above shows almost equal information but it gives an alternate access device mmcblk0: that translates to /dev/mmcblk0 for our purposes. You need to remember such information. Following the recommendation above I've created the sub-directory pcduino within the download directory supplied by the system installation on my first log-on. Here I've stored the files downloaded as described in 'Requirements' above. Now it is necessary to change into this sub-directory by using the command line. It's done by typing cd /home/my_logon_name/Downloads/pcduino Next someone wants to see the contents of the sub-directory by typing at the command line ls -al Finally to write the kernel image to the microSD card someone types the command dd if=pcduino3_a20_kernel_dd_20140721.img of=/dev/mmcblk0 dd is the disk dump program, if is the name of the input and of is the name of the output. For a while nothing seems to happen and you do not need to get nervous. When the program is finished it will give you some information like 'xxxx bytes written'. At this point you can remove the microSD card. 10. Write the LUbuntu image to the USB stick ---------------------------------------- First someone has to extract the contents of the archive as described in 'Requirements item 7'. At the command line someone types 7z e pcduino3_ubuntu_20140430.7z and if the process is finished a bunch of message lines are displayed like # Processing archive: pcduino3_ubuntu_20140430.7z # Everything is Ok If all went right and the archive you downloaded did not get defective during the download your sub-directory has three more entries that can be verified by using the command ls -al Here you should see the new sub-directory 'ubuntu' which we will remove right away typing the command rmdir ubuntu because it's empty. Furthermore you'll find the two extracted files named pcduino3_ubuntu_20140430.img update.sh such files need to be copied to the USB stick mentioned in 'Requirements item 4.'. The file 'update.sh' will be read by the system booted by using the microSD card and will write the contents of the .img file to the NAND flash memory. First let's prepare a place that will assist in easy identification of the USB stick by typing mkdir /mnt/12345 Plug the USB stick into a free USB port of your computer. On a graphical user interface prohibit the automatic mount request!! Let's find the device node for the stick by typing tail -n 20 /var/log/messages Look for the last two lines that should be similar to # sdc: sdc1 # [sdc] Attached SCSI removable disk The '[sdc]' shows that the stick can be accessed using the device node /dev/sdc an the line before shows that there is one partition named 'sdc1' on the stick that translates for us to use /dev/sdc1 Now mount the stick by typing the command mount /dev/sdc1 /mnt/12345 Typing the command mount -l will show all mounted devices and the last line show the device mounted last, f.e. for a USB stick # /dev/sdc1 on /mnt/12345 type vfat (rw) [iNTENSO] Finally we copy the two files for the NAND image to the USB stick by typing the command cp pcduino3_ubuntu_20140430.img update.sh /mnt/12345 For a while you will see nothing or in case the stick provides one a blinking light at the USB stick. Until this process is finished you could use the time to go shopping for flowers as a gift to your wife or girl friend In case the copy process did not produce any errors you will see an empty command line were you type sync sync to make sure that data that might reside in an internal memory cache are correctly written to the USB stick. Afterwards you type umount /dev/sdc1 and remove the stick from your computer. Finale ====== If your pcduino is running power it down remove the power charger from the power outlet remove the power cable remove the cable of the USB connector remove the HDMI cable and if you use it remove the SATA connector of your hard disc. Now insert the microSD card into the card reader of the board plug the micro USB connector of your power charger to your board insert the power charger to your power outlet. A green light next to the CPU will start blinking for a short while. At the time the light stops blinking you remove the power charger from the power outlet remove the power cable of the board remove the microSD card. The next step is to plug in the USB stick plug in the HDMI cable plug in the micro USB connector of your power charger to your board make sure your monitor is switched on insert the power charger to your power outlet. You will be greeted by the pcduino logo followed by a couple of kernel message lines and screen showing the message mount udisk succeed update.sh found, updating rootfs from udisk, please wait... writing pcduino3_ubuntu_20140430.img to nand flash it will take about 8 minutes to finish... and the light mentioned before should blink for a while. At the end of the write process the screen will show the additional lines 400+0 records in 400#0 records out real 3m 44.22s user 0m 0.00s sys 0m 17.91s update finished update finished You can now remove the power charger from the power outlet remove the power cable of the board remove the USB stick. At this stage you should have a working board booting off the NAND memory. Plug in the micro USB connector of your power charger to your board plug in the HDMI cable plug in your USB keyboard or USB hub plug in your ethernet cable make sure your monitor is switched on insert the power charger to your power outlet. Now you can use your system but your miles may vary because of the storage space on the NAND memory. ATTENTION: If you intend to either operate your system using a microSD card or external hard disc do not touch anything on your booted system as you need the fresh install to be transferred to the appropriate media. Read the How To on microSD card or hard disc installation first. You have been warned.