If you have the opportunity to boot also using the resulting u-boot from this build and record a full boot log (u-boot + kernel) together with a login and ifconfig right after it gets IP would be very helpful.
Please write u-boot to SD Card using this command:
i have a BPI-W2 with Android 7.1 in emmc ,i had got a error after i install ubuntu to emmc
this is my step
1 I boot the system from SD card
2.use fdisk /dev/mmcb1k1 to clear system
3 ,I use cmd dd to upguted the system to emmc ,and poweroff once install sucucessful
4,swith SW4 to 0 ,trun on the power ,it cant go to the system
so what can i do ?
I have followed guide from first post in this thread and it worked for me.
SPI being used during boot always poses a risk of brick if flashing stuff with errors or suddenly breaking link during the procedure.
basic safety measures makes it virtually risk free:
make sure cables used are not broken in a way that ‘works only if lying like this’ and you wont trip over them and disconnect if you need to move around
no general power issues in the building when starting the process (not really a factor when using laptop - bpi-w2 will draw power via usb-c to laptop cable and laptop has its own battery, power barrel is not even needed here)
verify download with md5sum or any other means provided by source (that would detect corrupted download. If not matching what you would expect - download again)
if you see something not like in the guide - make a picture of your screen or screenshot for asking for help in the forums (sometimes it is easier to say what might that be when seeing what you saw instead of description) and back away. That error you are seeing might be saying ‘you are about to screw up - are you sure you wish to do this?’
Web search for “install USB driver”: use Device Manager, Right-click Unknown Device
or Other Device but there are nothing like that (neither in Universal Serial Bus controllers).
it was awhile ago so i might be remembering it wrong but this was done through device manager.
most likely it didn’t register you having usb key pressed while booting (keep button pressed and after that plug usb-c). I forgot if I had to keep it pressed for a moment longer after powering it on.
if you ever flashed android phone with custom ROM / Recovery - think of this process as booting bpi-w2 into bootloader / download mode
when you have bpi-w2 usb key pressed (as in picture) while plugging it into the laptop it will be added to device manager - either as generic device (needs drivers update update - see guide) or as sth more specific (forgot what - tool should recognise that directly (no drivers update needed).
you can open that tool.exe (step 3) and see if it detects as in the picture - if it does, you have drivers already.
if it does not - go to device manager and look for “realtek generic USB class” (step 4).
right click > update driver > point to your extracted directory and go through the process.
I do not remember if i needed to restart my w2 after install to get it showing up in the tool or it just showed up there after installing drivers.
With your hints I was able to flash SPI with the new rom. And run Kali linux from emmc.
One thing missing in the guide: the SW4 must first set to 0. It work when SW4 is 1 but fail with the last command line (rtkemmc read 0x01500000 91286 700000 chain 0x01500000).