Can someone provide a simple How To for a BPI-W2? yes im a n00b on these


#1

Apologies for what is clearly a n00b problem.

Just like user k_bergeron, I’ve set up countless Raspberry Pis by simply burning a image to an SD and plugging them in. I’ve got ~8-10 in my house running node.js and python doing everything from my garage door to temp sensors on my plants but I Cannot get this Banana Pi to boot.

I’ve been through this http://wiki.banana-pi.org/Getting_Started_with_BPI-W2 for months now and had no success. The document seems to imply a lot more knowledge than a new Banana Pi user has. Do I really need to connect a debug cable? do I really need to mess with the eMMc? Cant it just boot from an SD card? Where am I putting the u-boot.bin? is it just copied or is there an image to burn? Is there no way to do it without tftp from another linux box?

Can anyone out there Please give me a simple step by step to get a BPI-W2 v1.1 up and running on Raspbian (or really any linux distro)?

I’ve taken a 64GB SD card and, using Win32 DiskImager, burned 2018-09-17-raspbian-stretch-demo-bpi-w2-sd-emmc.img to it from the link provided. I’ve created a second partition of ~100MB and copied bluecore.audio, bpi-w2.dtb and uImage to it. Set the dip switch to both possible positions and after power up there is nothing apart from lights showing it has power.

I would love a simple, concise, how-to like this:

  1. set dip switch to position 1
  2. grab this image: “some image” and use win 32 disk imager to burn to SD card
  3. Copy “these files” to “here”
  4. Sacrifice a chicken under the full harvest moon
  5. Cross your legs and fingers while whistling Jump Around by House of Pain
  6. Power up the Banana Pi. (hopefully 4 and 5 aren’t necessary but at this point…)

The Getting started doc is confusing unless, seemingly, you’ve already set up a Banana. Honestly I’m sorry to have to post this. I hate having to ask for help but I’ve got no hair left to tear out.

Thanks in advance.


#2

100 mb partition and manually moving bluecore and stuff was not needed when you burned complete image.

I have not tried rasbian (running Ubuntu on my box) but image is whole package.

Guide you saw on wiki was meant for older Ubuntu build - there was no image ready at first - you needed to partition and fill data on SD yourself.

Simply burn image and push it in banana. Sw4 (next to 40-pin gpio) to position 1 and plug power (board boots with power plugged due to some bug - power button is not needed)

If that won’t work - there would be additional step required: update SPI rom (via usb-c cable, Windows machine as in guide on this forum) Usb-c serves as power in as well - board will boot pulling power from your computer.


#3

Thanks Kamil. Reburned the image on the SD, plugged it in…to no avail. Now I’ve gone through the first stages of updating the SPI rom via usb-c but of course now i’m into homemade debug cables, Putty etc. and so far the board isnt talking. ROM updated fine though via usb.

Appreciate the help. The BPI is a black box and isnt giving any hints around why it wont answer over the debug. I’ll keep plugging away.

For anyone else searching it out, here is the link to the How To W2 SPI Rom Update: https://drive.google.com/open?id=1kXaI5eYJ4cNLnhfr4rTwUVrENbMc1q-E And link to the ROM tool: https://drive.google.com/open?id=1pq4MDKZi0KhyERB5xNGjTynhFWjXN_jm Those two came from here:


#4

When you mentioned homemade debug cable - I hope you are using USB -> UART bridge here, not just plain cables.

I got one like this http://store.extremeelectronics.co.in/PL2303-Based-USB-to-UART-Bridge.html - not bought from this exact store, just googled for model.

GND / RX / TX plugged to 3 pin UART between SD slot and power button.

Check device manager to see where your USB got detected (depending which USB port on my laptop I use - my bridge is detected as COM4 or COM6 - yours might be completely different)

Just to cover it all: GND on USB goes to GND on board, then you cross RX -> TX, TX -> RX

Mine just worked - hard for me to tell what might be wrong on your side.


#5

“Home made” just from the Banana’s header to the rs232 end of the USB-to-serial UART cable. The USB was detected as COM3 and from what I read I should be using 115200bps 8/N/1. Correct? Should the board be plugged into my pc usb port or just power? (I dont know if it matters but thought I’d ask. I’ve tried both). There is no feedback from the board about state; which is aggravating. No flashing light saying what condition it’s in. just solid red, green and blue.

Does the board Always dump info out the Debug header or only when it is in a certain state? Meaning do I need to power it up in a particular way to connect?

Right now, the DIP is in position 0, USB-C is plugged in to the wall for power, debug and USB cable connected, Putty open and listening on COM3 at 115200…and nothing but solid lights. Inscrutable.

Thanks and I really appreciate the time.


#6

Strange. For me it stars pushing strings to uart as soon as you plug power in.

With sw4 on 0 it is supposed to boot from emmc only. With sw4 on 1 it is either SD only (old SPI rom) or ‘try SD, fallback to emmc if no SD detected’ (new SPI rom)

RGB LEDs are all lit on my board as well.

In either case you should at least see it trying to look for boot stuff


#7

i’ve hooked up the oscilloscope to the debug header on the board and I dont think I’m seeing anything. I’m going to grab the same (or close to) UART board you’ve been using, set things up exactly as you’ve had it and see where it goes from there. Who knows. Thanks again.


#8

alright. It speaks. rebuilt my cable and swapped my uart cable for the device you used and viola. it speaks. so, with some hope I ask…what now? What do I need to do to this thing to make it boot from the SD card now? I feel so close I can taste it.


#9

fall back to ubuntu release 2018-09-17 topic:

If your board startup log print “SPI ROM:20180907”, then you don’t need to update spi rom.

when you mentioned procedure via USB went well - this should look exactly as in that other topic (step 4)

  • get image from step 3 link, 3
  • burn it on SD (I have used etcher on windows laptop to burn SD)
  • plug it back to bpi
  • sw4 on ‘1’
  • power board - should boot to ubuntu now (watch uart session for errors - set putty session logging / grab output by mouse and attach file here - will be easier to see what might be wrong in your scenario)

#10

Except that I’ve burned the SD image onto the SD card, set the switch to 1 and it wont boot. hence the boot to debug with switch = 0. I’ve lost track but I think that’s where we started:

“I’ve taken a 64GB SD card and, using Win32 DiskImager, burned 2018-09-17-raspbian-stretch-demo-bpi-w2-sd-emmc.img to it from the link provided. I’ve created a second partition of ~100MB and copied bluecore.audio, bpi-w2.dtb and uImage to it. Set the dip switch to both possible positions and after power up there is nothing apart from lights showing it has power.”

So, the image is burned properly but no boot. Now I’m in debug but no idea what to look for. Any ideas?


#11

I’ve created a second partition of ~100MB and copied bluecore.audio, bpi-w2.dtb and uImage to it.

This is your mistake. Just burn the image and unplug it from your laptop. the image is complete, like for raspberry.


#12

Hey Kamil. I was just typing an addendum to point out that i was merely copying the paragraph from my first post. The image on the SD card is the exact image downloaded from the site and burned with win32 disk imager. that was basically where i started the second post of this thread. The board wont boot. I’ll try some other images maybe. if none work I’m giving up and tossing these things. The time was much appreciated but it seems these things may not be ready for primetime. Cheers


(Links Live Media) #13

have you been able to get it to work i’m having the same issue burned the image to an sd card but it wont boot


(ZB) #14

Hello, which image did you download?

what is the version of spi rom in your log?

image

Did you switch SW4 to 1?

could you please show me?