pingvincible
-
Posts
13 -
Joined
-
Last visited
Everything posted by pingvincible
-
Hi, same problem, after armbian-add-overlay vga.dts nothing works: no VGA, no HDMI. Does latest armbian supports cubietrack vga mode? Also I've tried this thing(during boot I press space and the enter commands): setenv video-mode sunxi:1360x768-24@60,monitor=vga,edid=1 saveenv reset saveenv says: Failed to save. Is this still true?
-
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
I remebered that some time ago I wrote a script to partition nand based on someones script. #!/bin/bash card='/dev/disk/by-id/mmc-SD02G_0xa361fa92' targetdir='rootfs' echo "Copying nand-install.sh to rootfs/root..." echo "" cp ./sd2nand/nand-install.sh ${targetdir}/root cp ./sd2nand/nand-install-no-prompt.sh ${targetdir}/etc/init.d echo "Copying bootpartition.tar.gz to rootfs/root..." echo "" cd ./sd2nand/bootpartition/ tar -zcvf bootpartition.tar.gz ./* cd ../../ mv ./sd2nand/bootpartition/bootpartition.tar.gz ${targetdir}/root read -p "Done. Press Enter... " -n1 -s echo "" echo "Unmounting partitions..." echo "" umount ${card}-part1 umount ${card}-part2 read -p "Done. Press Enter... " -n1 -s echo "" echo "Cleaning 1 MB..." dd if=/dev/zero of=${card} bs=1M count=1 read -p "Done. Press Enter... " -n1 -s echo "" echo "Writing u-boot..." dd if=u-boot-sunxi-with-spl-ct-20131102.bin of=${card} bs=1024 seek=8 read -p "Done. Press Enter... " -n1 -s echo "" echo "Making partitions..." cat <<EOT | sfdisk --force --in-order -uS $card 2048,524288,L 526336,,L EOT read -p "Done. Press Enter... " -n1 -s echo "" echo "Creating fs part1... " mkfs.ext2 ${card}-part1 read -p "Creating fs part2. Press enter... " -n1 -s echo "" mkfs.ext4 ${card}-part2 read -p "Done. Press Enter... " -n1 -s echo "" mkdir /run/ct1 mkdir /run/ct2 mount ${card}-part1 /run/ct1 mount ${card}-part2 /run/ct2 #tar -C /run/ct1 -xvf bootfs-part1.tar.gz echo "Copying bootfs..." cp bootfs/* /run/ct1 read -p "Done. Press Enter... " -n1 -s echo "" echo "Rsyncing rootfs..." rsync -axPHS --delete $targetdir/ /run/ct2 > /dev/null read -p "Done. Press Enter... " -n1 -s echo "" echo "Umounting bootfs..." umount /run/ct1 echo "Umounting rootfs..." umount /run/ct2 echo "Done." echo "Removing temp folders..." rm /run/ct1 -R rm /run/ct2 -R echo "Done." echo "Ejecting card..." eject $card echo "Done." Why don't you use something similar in your nand-sata-install script. Maybe you know some drawbacks of this method? Sorry for my english, if it sounds rude. -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
I thought that it may be part of your script. Thank you for the help! -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Maybe will be useful for you. I found one nand install script on github: https://github.com/remahl/Cubietruck_sd2nand/blob/master/nand-install.sh. There is using of nand-part for creating partitions. This script will partition nand itself before copying bootfs and rootfs. And there will be no need to flash lubuntu to make good partitioning before using nand-sata-install -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Oh, God! Got it worked. After installing your latest image I saw a message from driver that 256KiB of coherent pool is insufficient. Added coherent_pool=2M to extraags of uEnv.txt and became very happy!!! On 3.4.106 kernel worked too! -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
I need to use i2c, uart, sound, gpio and nand. As I understood not all of this would work in vanilla kernel? I thought about newer kernel because my wifi adapter driver is in kernel since 3.10. -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Is it possible to use kernel newer than 3.10 in your debian wheezy? -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Script.bin is copied correct. Why are you converting image, can't I just copy it? -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Recompilation of the driver gave me nothing... -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
error messages looks like this: RtmpAsicLoadFirmware: ver 21/21, sum cdf7/cdf7, mac cdf72100 NICLoadFirmware: firmware loaded already Error in Alloc Bulk buffer for HTTxContext! RTMPAllocTxRxMemory failed, Status[=0x00000003] RTMPFreeTxRxRingMemory RTMPFreeTxRxRingMemory rt28xx Initialized fail!!! -
System does not boot from nand after nand-sata-install script
pingvincible replied to pingvincible's topic in Allwinner A20
Thank you, after installing lubuntu and executing nand-sata-install system booted. But I've got one error. I compiled wi-fi driver to use usb wifi module. Wifi works well while system was on sd-card. After copying system to nand driver shows some errors and module doesn't work. Can you give me some advice to make it work?
