Quantcast
Channel: banana pi single board computer open source project official forum BPI team - Latest posts
Viewing all 43519 articles
Browse latest View live

Which version of Banana Pi do I have?


Banana Pi m1 Plus case design files

BPI-R64 current u-boot support

$
0
0

Emmc seems to work only if pre-initialized (e.g. by previous loaded uboot or by booting from emmc). if booting directly from sd it does not work.

If anybody has an idea…

How to use BPI-4G LTE module with BPI-R2

BPI-M4 android Getting started

$
0
0
  1. Burn image to emmc, and switch SW2 on the side of SD card to “1” position, which starts from emmc
  2. Our M4 does not include nandflash circuit design, only emmc and SD
  3. BOOT_SEL is fixed when RTK leaves the factory and cannot be modified
  4. Functions of SW2 and SW5 are easy to understand from the schematic diagram
  5. SW4 is for system upgrade

Banana Pi product CE,Fcc,RoHS certification wiki page

BPI-M3 cldnn / openCL

$
0
0

Dear,

I cannot find how to install opencl driver for BPI-M3 or how to download cldnn for PowerVR GPU. Please help me!

BPI-R64 current u-boot support

$
0
0

Now, we’re also developing mt7622 upstream uboot, and will share our patches with you in these two days.

  • Ethernet: todo

  • PCIe/USB: ongoing

    We’ll use mt7629 as target platform first because it has uboot usptream already with similar IP.


Which preloader image to use?

$
0
0

@sinovoip have you changed preloaders (at least for emmc)?

I guess sd-preloader cannot be changed if it is also loaded on emmc (like on r64) and will override emmc-string.

Which preloader image to use?

Which preloader image to use?

$
0
0

As this differs from eMMC string,how can we now check for bootsevice in uboot? Which address is set to which byte (i guess 0xea).this should work too if sd is available but boot from emmc

it looks like you read boot signature from first bytes (SDMMC_BOOT vs. EMMC_BOOT) of mmc-device…but how is this passed to uboot?

How to use BPI-4G LTE module with BPI-R2

$
0
0

I know that page, however none of my questions is being answered there.

Which preloader image to use?

$
0
0

The uboot code doesn’t need to change, just like before

Which preloader image to use?

$
0
0

We should have EMMC string on memory address 0x81dffff0?

Which preloader image to use?


Which preloader image to use?

BPI-R64 current u-boot support

$
0
0

have you emmc-access ready? Is it also working if booting from sdcard?

Can you share this patch (maybe pinctrl/timer)?

BPI-R64 current u-boot support

$
0
0

@moore can you please give us difference on things preloader initialized to boot form eMMC and from SD.

Because we have it worked when first uboot started from eMMC and not worked when from SD.

Boot src      eMMC status     SD status
eMMC             works            works
SD                 no             works

So for case it boot from SD something (clk, pinctrl, power, etc) did not initialized, so eMMC won’t work. But we can’t catch yet, what is it.

Thanks.

BPI-R64 current u-boot support

$
0
0

@frank-w did you try to boot linux from SD (both uboot and linux from SD) and check if eMMC accessible?

BPI-R64 current u-boot support

$
0
0

have not get managed it…copied kernel+dtb (which i load from my older uboot) to root of sd-card and did this:

U-Boot MT7622> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait                                                                             
U-Boot MT7622> ls mmc 1:1                                                                                                                                       
            bananapi/                                                                                                                                           
        0   sd.txt                                                                                                                                              
  8841288   uImage_5.4                                                                                                                                          
    23721   bpi-r64-5.4.dtb                                                                                                                                     
                                                                                                                                                                
3 file(s), 1 dir(s)                                                                                                                                             
                                                                                                                                                                
U-Boot MT7622> setenv kaddr 0x44000000                                                                                                                          
U-Boot MT7622> setenv dtaddr 0x47000000                                                                                                                         
U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4                                                                                                                
8841288 bytes read in 785 ms (10.7 MiB/s)                                                                                                                       
U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb                                                                                                          
23721 bytes read in 8 ms (2.8 MiB/s)
U-Boot MT7622> bootm $kaddr - $dtaddr                                                                                                                           
## Booting kernel from Legacy Image at 44000000 ...                                                                                                             
   Image Name:   Linux Kernel 5.4.0-rc1-r64                                                                                                                     
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                                          
   Data Size:    8841224 Bytes = 8.4 MiB                                                                                                                        
   Load Address: 40080000                                                                                                                                       
   Entry Point:  40080000                                                                                                                                       
   Verifying Checksum ... OK                                                                                                                                    
## Flattened Device Tree blob at 47000000                                                                                                                       
   Booting using the fdt blob at 0x47000000                                                                                                                     
   Loading Kernel Image                                                                                                                                         
   Loading Device Tree to 7bff7000, end 7bfffca8 ... OK                                                                                                         
                                                                                                                                                                
Starting kernel ...

then it hangs till a board-reset occours

did same steps with my old uboot (where i have additional env-vars set) and i see kernel booting…with this running i see emmc-partitions and can access them

root@bpi-r64:~# hd /dev/mmcblk0boot0 | head -1                                                                                                                  
00000000  45 4d 4d 43 5f 42 4f 4f  54 00 00 00 01 00 00 00  |EMMC_BOOT.......|                                                                                  
root@bpi-r64:~#
Viewing all 43519 articles
Browse latest View live