Uboot command:
Connect serial debug cable to the debug port, and launch the hyper-terminal.
Press any key at boot up to stop autoboot, and enter the uboot command mode:
Force Ubuntu update:
Copy ubuntu image to your flash disk or SD card and plugin. Enter uboot command mode.
Add “update_mode” to the bootargs or setargs , for example:
$ printenv
$setenv setargs “setenv bootargs console=${console} console=tty1 root=${nand_root} init=${init} loglevel=${loglevel} update_mode”
$ boot
Then it will force to update the image on the flash disk or SDcard.
Note: please never call saveenv in this case.
Patch the kernel and configuration file :
$ mount /dev/nanda /boot
Replace the uImage file in the boot folder to update the kernel.
Replace the script.bin to update the configuration (note: in old version, modify the evb.bin is the same.)
Advanced Topic: How to change the board configuration
To install sunxi-tools, there some additional packages that must be installed on the pcDuino first. To fetch the sources, you need git. To compile sunxi-tools, you also need to have libusb and pkg-config. The following commands will need to be done from a terminal window.
Now that the prerequisites have been installed, the sunxi-tools source files can be fetched from github. The following commands will need to be done from a terminal window.
This will fetch the source files and build the binary programs needed to update theevb.bin configuration file.
Accessing evb.bin
The evb.bin file is stored in the NAND flash boot partition. By default, this is not available after the pcDuino boots. The default boot partition is /dev/nanda and can be mounted to /boot using the following command.
If you look at the directory of /boot, you will now see several files.
We are only interested in the evb.bin file at this time. Use the following commands make a backup of your original file and to extract the content of the evb.bin file to evb.fex.
The evb.bin file in the boot partition must be replaced with a compiled version of your new evb.fex file. This is accomplished with the following commands.
This compiles the new text configuration to a binary configuration file, copies the new file to the /boot partition, and unmounts the boot partition.
About the fex file reference, please read the manual.
ONLY PERFORM THE ABOVE IF YOU UNDERSTAND WHAT YOU ARE DOING. Editing the evb.bin file has the potential to make your pcDuino unusable. If this occurs, you will need to restore your original evb.bin file from the backup.
About RTC
There is no external battery for RTC, so after reset, the date will be reset too.
You can connect the device to internet, then the SNTP will works, it will sync the date-time automatically, the default local is US.
About VideoSDK
You can download from here.
No JTAG/SATA/LCD/MIC support?
No. There is no JTAG.
Leave a Reply
You must be logged in to post a comment.