November 13, 2019, 11:51:29 pm

News:

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


No booting from NAND (A20)

Started by zerokelvins, March 09, 2014, 06:32:02 pm

Previous topic - Next topic

zerokelvins

Hi,

I recently bought CubieBoard2.
I tried to boot from SD Cubian Desktop, but could not (the screen did not show anything).

Then, I booted from NAND with default Android, but a green progress bar appears with black background, but is always the same and never end.

I thought the SO (Android) of the NAND was broken, then install Cubian (no Desktop) from SD. The installation process ended well, but when I restart and boot from NAND reappears progress bar issue.

My intention is to install Cubian on NAND and boot from it. Also understand why the progress bar appears and never increases.

Any ideas.


Thanks for your attention.

milkboy007

could you elaborate what you did?
did you try re flashing android/lubuntu on NAND?
charger quality and power supply?

did you read, https://github.com/cubieplayer/cubian/wiki/Install-Cubian  ???

until you supply more information, i dont know where to begin

electrocret

You may want to read.
http://www.cubieforums.com/index.php?topic=1880.0

There is a new revision of the A20 processor that is causing booting issues on the Nand. Your board may be affected.
Please applaud if you find what I say helpful! :)

zerokelvins

Hi,
Thanks for replay.

I'm folllowing some threads with same problem. I readed that may be the problem is on nand partiton.
This night I will try to check partition NAND status.

Ok Milkboy007, I'll try to explain step by step.
When I recived Cubieboqrd 2,  I was using NAND Android. But when I put SD with Cubian Desktop for A20, but when Cubieboard try to load it, the screen show a white screen with somes pixels (may be load error).
Then I run with Android NAND, but show  a progress green bar that never finish
I decided to Install Cubian NAND from SD Cubian (I didn't read errors into NAND installation.)
When it finished, I tried to run NAND but appear progress bar again.

Thanks electrocret.

I will try to repor more informaciont about partition status.

See yoo.

zerokelvins

Hi,

I have collected some information this weekend.

$ sudo sfdisk -s
/dev/nand:   3989504
/dev/nanda:      1024
/dev/nandb:       256
/dev/nandc:   3971840
/dev/mmcblk0:   7761920
/dev/sda:  97685784
total: 113410328 blocks

$ sudo nand-part
check partition table copy 0: mbr: version 0x00000200, magic softw411
magic softw411 is not softw311
check partition table copy 1: mbr: version 0x00000000, magic         
magic          is not softw311
check partition table copy 2: mbr: version 0x00000000, magic       
magic          is not softw311
check partition table copy 3: mbr: version 0x00000000, magic         
magic          is not softw311
all partition tables are bad!
check partition table copy 0: mbr: version 0x00000200, magic softw411
OK
check partition table copy 1: mbr: version 0x00000200, magic softw411
OK
check partition table copy 2: mbr: version 0x00000200, magic softw411
OK
check partition table copy 3: mbr: version 0x00000200, magic softw411
OK
mbr: version 0x00000200, magic softw411
3 partitions
partition  1: class =         DISK, name =   bootloader, partition start =    32768, partition size =     2048 user_type=0
partition  2: class =         DISK, name =         boot, partition start =    34816, partition size =      512 user_type=0
partition  3: class =         DISK, name =        linux, partition start =    35328, partition size =        0 user_type=0
check partition table copy 0: mbr: version 0x00000200, magic softw411
OK
check partition table copy 1: mbr: version 0x00000200, magic softw411
OK
check partition table copy 2: mbr: version 0x00000200, magic softw411
OK
check partition table copy 3: mbr: version 0x00000200, magic softw411
OK
mbr: version 0x00000200, magic softw411
3 partitions
partition  1: class =         DISK, name =   bootloader, partition start =    32768, partition size =     2048 user_type=0
partition  2: class =         DISK, name =         boot, partition start =    34816, partition size =      512 user_type=0
partition  3: class =         DISK, name =        linux, partition start =    35328, partition size =        0 user_type=0


$ df -h
S.ficheros     TamaƱo Usados  Disp Uso% Montado en
rootfs           7,3G   930M  6,1G  14% /
/dev/root        7,3G   930M  6,1G  14% /
devtmpfs         405M      0  405M   0% /dev
tmpfs             81M   176K   81M   1% /run
tmpfs            5,0M      0  5,0M   0% /run/lock
tmpfs            162M      0  162M   0% /run/shm
tmpfs            405M      0  405M   0% /tmp
tmpfs            405M      0  405M   0% /var/tmp
/dev/nandc       3,8G   985M  2,6G  28% /mnt/nandc
/dev/nanda      1004K   430K  574K  43% /mnt/nanda

cubie@Cubian:/mnt/nanda$ ls -alR
.:
total 144
drwxr-xr-x 3 root root  16384 ene  1  1970 .
drwxr-xr-x 6 root root   4096 mar 16 23:12 ..
-rwxr-xr-x 1 root root 121524 ago 15  2013 boot.axf
-rwxr-xr-x 1 root root     91 ago 15  2013 boot.ini
drwxr-xr-x 2 root root   2048 mar 16 18:51 linux
./linux:
total 324
drwxr-xr-x 2 root root   2048 mar 16 18:51 .
drwxr-xr-x 3 root root  16384 ene  1  1970 ..
-rwxr-xr-x 1 root root    152 ago 15  2013 linux.ini
-rwxr-xr-x 1 root root 309256 mar 16 18:51 u-boot.bin

$ cat boot.ini
[system]
start_os_name = linux
timeout       = -1
display_device= 0
display_mode  = 0

cubie@Cubian:/mnt/nanda/linux$ cat linux.ini
[segment]
img_name = c:\linux\u-boot.bin
img_size = 0x80000
img_base = 0x4A000000
[script_info]
script_base = 0x43000000
script_size = 0x10000




lampra

Hi,

I had similar problems on my Cubitruck with nand after booting Debian from sd card.
I used the official lubuntu nand version to flash with Phoenixsuit (livesuit doesn't work on my system)
After the first nand flash i installed other prebuild images using dd

zerokelvins

Hi lampra,

Thanks for information.
You say that you instaled other prebuild image. Can you tell me some prebuild image to install.?

I will try to do that.


zerokelvins

I solve it.

Thanks lampra. I installed a lubuntu into NAND with PhoneixSuit. The boot problem solved.
I have to investigate the problem of Cubian installed into my NAND.

See you

Enviado desde mi Nexus 4 mediante Tapatalk


zerokelvins

Hi again,

I instaled again Cubian into NAND with any problem.
May be to install lubuntu into NAND solve the problem.
I can't reproduce the problem.

This thread is closed.

Thanks all.

Enviado desde mi Nexus 4 mediante Tapatalk