Author Topic: New ArchLinux nand image for cubietruck  (Read 19679 times)

Offline fabianka

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #15 on: April 23, 2015, 11:56:46 am »
hi,
i just installed your image on nand. everything works, but when i update the kernel or want to switch to mainline kernel, they are not booted.
instead it's always kernel version: 3.4.75+
the version linux-sun7i-3.4.103-5 or linux-armv7-4.0.0-1 install without problems, but i don't know how to boot them.
kind regard,
fabian

Offline tinx

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #16 on: April 24, 2015, 05:15:20 pm »
You have to mount /dev/nand1 and replace uImage with your new one. This is probably where the uImage is loaded from on your device.

E.g.
Code: [Select]
mount /dev/nand1 /mnt/
mv /mnt/uImage /mnt/uImage.bak
cp -a /boot/uImage /mnt/uImage
sync
umount /mnt

I have had some trouble with the ALARM kernel. So please report back if it works well for you.


Regards,
tinx
« Last Edit: April 24, 2015, 05:17:16 pm by tinx »

Offline fabianka

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #17 on: May 01, 2015, 11:23:21 am »
for the new  linux-sun7i version it works.
but kernel has no uImage File.
Do i have to copy all the files form /boot to /dev/nanda (its not called nand1 at my arch)?

Offline CubieDoc

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #18 on: May 02, 2015, 12:05:45 pm »
Hi,

I installed your NAND-Image - everything worked fine - but after system update via
Code: [Select]
pacman -Syu I don't have my eth0 after startup.

Code: [Select]
dmesg|grep eth
[    2.462245] i2c-core: driver [synaptics-rmi-ts] using legacy suspend method
[    2.475061] i2c-core: driver [synaptics-rmi-ts] using legacy resume method
[    3.077792] i2c-core: driver [cptm1217] using legacy suspend method
[    3.089210] i2c-core: driver [cptm1217] using legacy resume method
[    7.950048] eth%d: device MAC address xx:xx:xx:xx:xx:xx

lsmod gives me:
Code: [Select]
lsmod
Module                  Size  Used by
sunxi_cedar_mod         9938  0
disp_ump                 861  0
mali                  110981  0
ump                    51915  2 mali,disp_ump
bcmdhd                497637  0
sunxi_gmac             29883  0

So, the driver is loaded, but eth0 isn't up.
As reported in posts before, dhcpcd eth0 brings up the device, but I want it to have a static IP...and that doesn't work. :(

I followed the instructions given at the Arch Wiki https://wiki.archlinux.de/title/Statische_IP, but I can't get eth0 up after boot.