Giter VIP home page Giter VIP logo

bpi-m64-bsp's Introduction

BPI-M64-bsp

Banana Pi BPI-M64 bsp (u-boot 2014.7 & Kernel 3.10)

ref.from https://github.com/longsleep Thanks Simon Eisenmann.

Compile


#./build.sh 1

Target download packages in SD/bpi-m64 after build. Please check the build.sh and Makefile for detail compile options.

Install to bpi image SD card


Get the image from bpi and download it to the SD card. After finish, insert the SD card to PC

# ./build.sh 6

Choose the type, enter the SD dev, and confirm yes, all the build packages will be installed to target SD card.

Install

Install to customer SD card


Partitioning

Partition the SD card with a 64MB boot partition starting at 1MB, and the rest as root partition.

Format the partitions

# mkfs.vfat -n BOOT /dev/sdX1
# mkfs.ext4 -L ROOT /dev/sdX2

Bootloader

Defaut support 5 types base on the display, 480p/720p/1080p/lcd5/lcd7

# sudo gunzip -c SD/bpi-m64/100MB/u-boot-with-dtb-bpi-m64-{type}-8k.img.gz | dd of=/dev/sdX bs=1024 seek=8

BOOT Partition

# mount -t vfat /dev/sdX1 /mnt/
# cp SD/bpi-m64/BPI-BOOT/bananapi/bpi-m64/linux/Image /mnt/
# cp SD/bpi-m64/BPI-BOOT/bananapi/bpi-m64/linux/initrd.img /mnt/

Defaut support 5 types base on the display, 480p/720p/1080p/lcd5/lcd7

# cp SD/bpi-m64/BPI-BOOT/bananapi/bpi-m64/linux/${type}/* /mnt/

You must edit the uEnv.txt for u-boot to load related files with right direction.

uEnv.txt

# umount /mnt/

Another way to create the BOOT partition files if you don't care the file location

# tar xf SD/bpi-m64/BPI-BOOT-bpi-m64.tgz --keep-directory-symlink -C /mnt/

If you want to switch the display type in one of the five during the development cycle, this way is suggested, only download different type bootloader without any boot files changed.

ROOT Partition

Using rootfs tarball

# mount -t ext4 /dev/sdX2 /mnt/
# tar -c /mnt/ -xvf rootfs.tar.gz
# tar xf SD/bpi-m64/3.10.105-BPI-M64-Kernel.tgz --keep-directory-symlink -C /mnt/
# tar xf SD/bpi-m64/BOOTLOADER-bpi-m64.tgz --keep-directory-symlink -C /mnt/

Get the ap6212 firmware from https://github.com/BPI-SINOVOIP/BPI_WiFi_Firmware/tree/master/ap6212 and place ap6212 folder in /mnt/lib/firmware/

# umount /mnt/

bpi-m64-bsp's People

Contributors

bpi-sinovoip avatar dangku avatar jackzengbpi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bpi-m64-bsp's Issues

TP-LINK TL-WN725N wifi drivers not found

Hi,

TP-LINK TL-WN725N is not getting detected since driver is not available.

I searched and tried many things but couldn't resolve it.

Please let me know the method/pointers to resolve this issue.

Thanks,
Kiran.

Kernel 4.4 supported BPI-M64-bsp

Hi,

I could see Supports Banana Pi BPI-R2 (MT7623N) (Kernel 4.4) is released.

When can we expect BPI-M64-bsp (Kernel 4.4) to be released ?

Thanks.

Cannot Compile the U-Boot

scripts/Makefile.build:424: recipe for target 'board/sunxi/common/built-in.o' failed
make[3]: *** [board/sunxi/common/built-in.o] Error 1
Makefile:1063: recipe for target 'board/sunxi/common' failed
make[2]: *** [board/sunxi/common] Error 2
make[2]: Leaving directory '/home/xxx/BPI-M64-bsp/bootloader/u-boot-sunxi'
Makefile:27: recipe for target 'u_boot_sunxi' failed
make[1]: *** [u_boot_sunxi] Error 2
make[1]: Leaving directory '/home/xxx/BPI-M64-bsp/bootloader'
Makefile:29: recipe for target 'u-boot' failed
make: *** [u-boot] Error 2

编译问题,git clone到本地,./build.sh 1 编译会报错,这是为啥?

  LD      examples/standalone/hello_world
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/hello_world.bin
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot.bin
./tools/add_hash_uboot.sh -f u-boot.bin -m uboot
 build_uboot 
"u-boot.bin" -> "u-boot-sun50iw1p1.bin"
make[2]:正在离开目录 `/home/hank/BPI-M64-bsp/bootloader/u-boot-sunxi'
bash: 行 3: dtc: 未找到命令
U-Boot: u-boot-sunxi/u-boot.bin: 750068 Bytes
FDT   : sun50i-a64-bpi-m64-1080p.dtb: No such file or directory
cp: 无法获取"u-boot-with-dtb.bin" 的文件状态(stat): 没有那个文件或目录
bash: 行 3: dtc: 未找到命令
U-Boot: u-boot-sunxi/u-boot.bin: 750068 Bytes
FDT   : sun50i-a64-bpi-m64-480p.dtb: No such file or directory
cp: 无法获取"u-boot-with-dtb.bin" 的文件状态(stat): 没有那个文件或目录
bash: 行 3: dtc: 未找到命令
U-Boot: u-boot-sunxi/u-boot.bin: 750068 Bytes
FDT   : sun50i-a64-bpi-m64-720p.dtb: No such file or directory
cp: 无法获取"u-boot-with-dtb.bin" 的文件状态(stat): 没有那个文件或目录
bash: 行 3: dtc: 未找到命令
U-Boot: u-boot-sunxi/u-boot.bin: 750068 Bytes
FDT   : sun50i-a64-bpi-m64-lcd5.dtb: No such file or directory
cp: 无法获取"u-boot-with-dtb.bin" 的文件状态(stat): 没有那个文件或目录
bash: 行 3: dtc: 未找到命令
U-Boot: u-boot-sunxi/u-boot.bin: 750068 Bytes
FDT   : sun50i-a64-bpi-m64-lcd7.dtb: No such file or directory
cp: 无法获取"u-boot-with-dtb.bin" 的文件状态(stat): 没有那个文件或目录
make[1]: *** [make_image] 错误 1
make[1]:正在离开目录 `/home/hank/BPI-M64-bsp/bootloader'
make: *** [u-boot] 错误 2

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.