September 19, 2019, 03:07:17 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Cubieboard7

Started by AndreyD, April 06, 2019, 11:42:43 am

Previous topic - Next topic

AndreyD

How to boot from SD? According to the instructions from the off-site, NAND flashed the first time - it works, and I could not get it to boot from SD.

rgmhtt

You seem to be the first here with a CB7, so unfortunately not much advice available.

Can you share any thing about the CB7 and why you chose it?  What have you gotten working on it?

Let us know!

AndreyD

I am writing with a Google translator.

Installed Debian on the instructions https://mega.nz/#F!ZtwxCCJC!AIYHcTqz-cjuzKnE9qD7A!o9wREJxC

Bootfs left in the NAND. Rootfs transferred to WD Black WD5000LPLX.


CPU
root@debian:/home/admin# cat /proc/cpuinfo
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
processor : 1
processor : 2
processor : 3
Features : fp asimd evtstrm crc32
CPU implementer : 0x41
CPU architecture: AArch64
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : s700
Revision : 0000
Serial : 5160303394851041

root@debian:/home/admin# lscpu | grep MHz
CPU max MHz: 1536.0000
CPU min MHz: 696.0000



Hard Drive Tests:
root@debian:/home/admin# sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.83194 s, 184 MB/s

root@debian:/home/admin# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.45399 s, 738 MB/s

root@debian:/home/admin# /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3

root@debian:/home/admin# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 7.06628 s, 152 MB/s

root@debian:/home/admin# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 1238 MB in 2.00 seconds = 618.74 MB/sec
Timing buffered disk reads: 424 MB in 3.01 seconds = 140.73 MB/sec





Use for "Smart Home" https://majordomohome.com/

rgmhtt

If the UUID is the same for the rootfs on the NAND and SD, then try deleting the rootfs from the NAND.  The expectation is it will find the one on the SD.

At least change to UUID on the NAND so it is not the one in the boot instructions and should be ignored.

I use this method to have /boot on an SD and the rootfs on the HD for the CT and CB2.  Recently I have also done this for the ODROID HC1.

UUIDs seem to be the way to direct the boot to the media desired.