Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/
Started by slovenia, December 24, 2013, 03:23:11 pm
Quote from: ziaro on March 01, 2014, 07:55:55 pmHello,My question is: how I can upgrade, on safe way, my CT installation from 1.6 to 1.7?I made some changes to standard installation (moved rootfs to sata drive, installed postgresql, nginx, wordpress, mediawiki, etc.) so I'm not sure, how I can do this task without reinstalling all modificated configuration files and packages.I read whole thread, but didn't found answer.Thanks in advance
Quote from: slovenia on March 01, 2014, 12:29:28 pmLogging and /tmp is the main part, rest is more or less cosmetic - adjusting/lowering memory reserved for /run /run/shm /run/lock ... You can gain some additional performance with disabling journal. (If you transfer rootfs to NAND my script does that by default). Probably this is all (useful) what can be done in this area
Quote from: slovenia on March 02, 2014, 05:33:10 amThe functional/important part can be upgraded with:a) download and install:dpkg -i ramlog.debthen reconfigure:nano /etc/default/ramlog change TMPFS_RAMFS_SIZE=256mthen nano /etc/init.d/rsyslogand change this at the beginning of the file# Required-Start: $remote_fs $time ramlog# Required-Stop: umountnfs $time ramlogb) change those parameters:nano /etc/default/tmpfsRAMTMP=yesRUN_SIZE=128MSHM_SIZE=128MTMP_SIZE=1Gc) reboot
Quote from: slovenia on March 02, 2014, 05:33:10 amAnswer to your question actually lies in build script and it's history. If you want to check/apply other, less important parts of upgrade, check:https://github.com/igorpecovnik/Cubietruck-Debian/blob/master/build.sh
Quote from: slovenia on March 02, 2014, 05:33:10 amI made one .bashrc login script (not included into release and you might need to install some additional packages):https://raw.github.com/igorpecovnik/Cubietruck-Debian/master/scripts/bashrc
Quote from: Count Zero on March 03, 2014, 11:23:18 amHi allI recently received my Cubietruck, and after some handwork to fit it on the ewel case I booted it from the Debian SD image which worked perfectly and I've been able to check for the hardware support and so on.I had some issues when I tried to install it on NAND using the nand-install script found on /root on the Image. Something went wrong during the process (I think it had some problems reading the SD when making the rsync for rootfs) and NAND install failed. When tried to run it again found that the script itself removed some necessary files for the installation like the debian-boot.tar.gz image. (IMHO this shouldn't be done)Well, that's not the problem. I burned again the SD image and modified the nand-install script to: - don't redirect output to /dev/null (I like to see anything going on)- don't remove any needed files (like the debian-root.tar.gz file)After running it again and also running the comands by myself (nand-part, formating the filesystems, copying files, ...) The 'nand-install' process run correctly without any issues or problems, but when I removed the SD card and tried to boot from NAND the cubie stucks on boot and only shows a small green square on the left edge of a red-frame.If insert the SD card I can boot from SD without issues.What does this mean? Has the CT loaded u-boot? is stuck on u-boot, or loading kernel or....? is due some NAND partiationning not made correctly?I know I can try to flash a new image on NAND using LiveSuit and try again, but I would like to fix it with 'standard' Linux tools if possible. Thanks all.
Quotebut when I removed the SD card and tried to boot from NAND the cubie stucks on boot and only shows a small green square on the left edge of a red-frame.
Quote from: Thebigwave on March 03, 2014, 11:06:49 amHello together,first of all Sorry for my English I'm not a Native Speaker.I have a upgrade Question. At the moment I run V1.5. with Samba and FTP Services.Is there a Safe Way to upgrade from 1.5 to 1.7 without restoring my system configuration?Thanks for your helpTheBigWave
Quote from: MrDialUp on March 04, 2014, 02:16:48 pmIgor, I have loaded 1.7 and transferred it so SATA and I have also followed the load up with installing your Debian home server script (https://github.com/igorpecovnik/Debian-micro-home-server). I have actually done this 6 times now and it always results in a problem. The Debian load is working fine, however, for some reason apache2 is failing to load at all when the home server script is completed. This means that the ISPConfig3 web page is not accessible. TV works, VPN server works and so do all the other things but for some reason apache2 fails to restart after a certain part of the script. I have tried researching the issue but nothing I could find and attempted resolved it. Is there a chance that something has changed within the multitude of programs that load as part of this script? Any suggestions would be appreciated.Also, you might want to look at including tightvncserver and lynx as part of the main Debian load or the home server script. Both work well with the combo.Edit: I just read elsewhere that the intention of your images and scripts was to support CLI use only. My bad The issue I site above is with a GNOME GUI implementation on top of all the other server programs. As a GUI front end was really not your intended use, I would think that the issues are due to my use of the GUI and not related to what you have put together.
Quote from: VonGriffin on March 05, 2014, 10:28:08 amyeah apache2 fails to restart with this script
service ramlog disablereboot # to be safe
QuoteI attached a nand-bootloader. Boot with SD, copy this file to CT, unzip and:
Quote from: Count Zero on March 06, 2014, 08:09:44 amQuoteI attached a nand-bootloader. Boot with SD, copy this file to CT, unzip and:Hithis may help in my issue, but I tried to download it but is gives me an error saying that the attachment cannot be found. ¿Can you upload it again?Also I try to include a previous backup on nand-install script Thanks in advance