GithubHelp home page GithubHelp logo

Board can't boot about bpi-m64-firmware HOT 37 OPEN

avafinger avatar avafinger commented on June 9, 2024
Board can't boot

from bpi-m64-firmware.

Comments (37)

avafinger avatar avafinger commented on June 9, 2024

Black screen could mean three things:

a) You Monitor is not 1080p capable, so you will see a black screen.
To find out it is this problem, please, boot the board with SD card and wait for a minute or so and just type on keyboard: ubuntu and look at the ethernet if you see some activities. You must have a DHCP server to release an IP to the board. Default is DHCP.

b) HDMI to DVI, there are some information that need to get pass through it, depending on your converter you may find trouble.

c) SD card corrupted or you SDHC card reader sucks, try to get another SD card or use another SD card reader.

I will push a DTB for 720p that could help.

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

Thank you for replay. I have new observations.
My monitor is capable of 1080p - when bpi is trying to boot, the monitor is showing text "1080p input." There is no HDMI-DVI adapters. I was trying to use 5 cards (GOODRAM 16GB SDHC toschiba 8G SDHC x2, SanDisk SD 4G x2) and 3 readers (3 laptops - diferent vendors too).

BPI try to boot a 3 or 4 times and turn off. While booting I saw white lines on screen, sometimes 4 tuxes.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

You should see 4 tuxes and then boot messages.
"... and turn off" is an indication your PSU is under specifications, you need 5v and ~2.5A.
The board i have comes with a barrel connector (DC input), are you using the barrel connector?

Try to boot without anything attached to the USB ports, just to see if it changes something.

After 3 or 4 attempts to boot without success your SD card may be corrupted, see: c. Check for SD card integrity

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

I try Anker 60W 6x2.4A (USB) and lab power supply 10A (DC input) - I also checked it with oscilloscope (while booting) and it looks good.
I have two m64 boards - both have the same problem.
I checked SD integrity - you will not suprise, they are good.

Are there any logs created while booting, which I can check?

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Yes, you can grab the boot log with a TTL serial debug, please do so and then we can try to see what is going on with the board.

attach the complete boot log here or in gist if you prefer.

You did not answer:
"The board i have comes with a barrel connector (DC input), are you using the barrel connector?"

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

OK, I will grab it later.
According to your question: ...lab power supply 10A (barrel connector - DC input)...

from bpi-m64-firmware.

jsoncylu avatar jsoncylu commented on June 9, 2024

I am also having the same issue after creating the SD card. I can't get any output via TTL using a baudrate of 115200. I am going to try using a different SD card reader.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@setup: 115200 8-N-1

TX -> RX
RX -> TX
GND -> GND

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

For those of you having trouble i would suggest using SanDisk Ultra 16 GB (or greater) 48 MB/s or 80 MB/s, i have several cards and have never run into trouble with Ultra. They are cheap, slow but works and save you time....

from bpi-m64-firmware.

jsoncylu avatar jsoncylu commented on June 9, 2024

Yes, I am using the one you suggested, and I used Ubuntu to format the card. I was using my laptop's built in SD card reader but that might be crappy.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Does your board powers off also, or just black screen?

from bpi-m64-firmware.

jsoncylu avatar jsoncylu commented on June 9, 2024

I think just black screen. No tuxes. The LED stays red.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Normal boot the LED stays red all the time, try the 720p DTB and see what happens.
Mind the the HDMI connector has some trouble, sometimes i have to press against the board and the image pops up on screen. But i see Ethernet activities when the board gets the IP.
Try to type the password: ubuntu after 30 / 50 secs and see if there is some eth0 activities.

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

Hi, this is log file grabbed from serial port
log.txt

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Hmm, ok. The board dropped to a u-boot command line, for whatever reason it is sensing ENTER on serial console debug and drops to u-boot shell.
I can see by the log several ENTERs.
Usually it would drop to shell and you would be able to type commands, type in the command:
sunxi# run mmcboot [ENTER]

** Update: run mmcbootcmd

This will boot and load kernel as normal, but you have to find out why serial console (debug) gets [ENTER] if you don't have anything attached to serial console.
I sometimes get this situation on Pine64 but not with the ENTERs you have, and i just type: run mmcboot and tada!

If you can't type anything, try to reboot until it finally boots or try to boot without anything attached to USB with the TTL attached and without it.

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

I send this command by serial - "echo -ne 'run mmcbootcmd\r' > /dev/ttyAMA0 | cat /dev/ttyAMA0 > /home/jwrz/log4.txt".

log4.txt

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Almost there!

For some reason the board rebooted. I think you should review how you are powering the board or placing the board on a static surface.
Here is the complete kernel boot log booting from eMMC:
https://github.com/avafinger/bpi-m64-firmware/blob/master/img/dmesg_kernel_3.10.104.txt

I can see you seems to be a knowledge person or works in the field, you have all the stuff according to the specifications, PSU with 10A should be enough (maybe undervolt?), for instance do you have a second bpi-m64?

I am running out of ideas what you could try..... Have you flashed Android? Did it Work?
Have you run any other image from SD CARD?

*Update: Maybe you are facing similar problem described here: https://forum.armbian.com/index.php/topic/3169-request-for-banana-pi-m64/?p=26306

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

I will be trying. I will tell you, if I find the reason.

I have two M64 and both have the same problem.
Image from banana-pi.org/m64-download.html (raspbian) with your DTB (https://github.com/avafinger/dtb_bpi-m64/pine64-plus.dtb not sun50i-a64-pine64-plus.dtb) works well, but without the mmc.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

I suspect there is two different batch of boards released. sounds like the culprit is u-boot in this case.

You could try this:

  • Write the (raspian) u-boot or the pine64 u-boot to your SD CARD
  • Create the partition the new u-boot requires (the one you have chosen above) and write the files in the partition and with the correct names

or

On the raspian SD CARD just update the kernel as described on section ** Updating Kernel to 3.10.104 **

If one of this works we know the problem is u-boot, in this case you should stick to original u-boot.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@jwrz

Please, try this on the SD CARD image (from your HOST PC) and report back if anything changed:

mkdir -p m64_test
cd m64_test
wget https://github.com/avafinger/a64_bin/raw/master/ub-m64-sdcard-test.bin
sudo dd if=./ub-m64-sdcard-test.bin conv=notrunc bs=1k seek=19096 of=${SDCARD}
sync

where
${SDCARD} is you SD CARD like /dev/sdb

and umount your SD CARD after 'dd'

from bpi-m64-firmware.

jwrz avatar jwrz commented on June 9, 2024

Hi,
I did it and... it works :) but to boot linux, it was needed to use 'echo -ne 'run mmcbootcmd\r' > /dev/ttyAMA0' again.

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

Are you able to boot and run with the LCD touchscreen? I'm able to boot and run with the updated kernel if I only use HDMI. When I switch the device tree to use the LCD and install the touch drivers, it won't boot at all.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

I have the official Banana Pi LCD touchscreen and it works with the BPI-M64 Android 6.0 LCD build. I'm going to make my Linux SD card again from scratch and then try what you have suggested. I'll let you know if I can get the boot log and/or see any Ethernet activity.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

In my last attempt, NOTHING turned-on.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

Many thanks!

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

please, try with this and report back if it works:
https://github.com/avafinger/bpi-m64-firmware/raw/master/a64-2GB_LCD_TOUCH_OK.dtb

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@jodyono ,

Any news about the Touch?

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

Still not working, but I'm not sure what's wrong. My system no longer boots at all, i.e., there's no boot.log. I might have made a mistake while creating the SD card. I have to admit to being a little confused by the instructions, especially at the point where I'm supposed to add TSLIB support. Is that absolutely necessary just to see if the display lights up?

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@jodyono ,
The reason the LCD panel did not work is due to missing driver in the kernel.
I adding the driver this weekend, can you please test if this works?

from bpi-m64-firmware.

jodyono avatar jodyono commented on June 9, 2024

I can test it, but not until I get back from a business trip in a couple of weeks.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@jodyono ,
When you get back, please give it a try and see if works. I think it will work...

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

@jodyono
If you do test, please try with this dtb: https://github.com/avafinger/bpi-m64-firmware-v2/blob/master/a64-2GB_LCD7-v4.dtb

Just overwrite the a64-2GB.dtb (boot partition) with this a64-2GB_LCD7-v4.dtb.
I think we may need a special u-boot with this settings, but lets try without one for now. And use the kernel from: https://github.com/avafinger/bpi-m64-firmware-v2 with latest LCD driver.

from bpi-m64-firmware.

avafinger avatar avafinger commented on June 9, 2024

Someone tested and 7" LCD works: https://github.com/avafinger/bpi-m64-firmware-v2#7-lcd-support

Use this Image for latest kernel and LCD support.

from bpi-m64-firmware.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.