Git Product home page Git Product logo

lichee-pi-zero's Introduction

lichee-pi-zero

Lichee Zero: An SD-Size (breadboard-compatible) Cortex-A7 Board

lichee-pi-zero's People

Contributors

icenowy avatar zepan avatar

Stargazers

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

Watchers

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

lichee-pi-zero's Issues

Winbond spi flash support 25q128fvsg

Hello,
it is possible to use Winbond spi flash support 25q128fvsg. If yes where I can find some information about how to prepare an image for it? Thanks

MODVERSIONS problem with rootfs

Hello there,

I am trying to use your sd card images on my LicheePi Zero Dock, as you guided, I just write with dd command and that is not working because of the same error which mentioned older issues here.

And I tried to compile kernel & u-boot, now my setup used zImage to boot up. But the file systems you created using modversions, which affects my modules. Even I change the kernel name so that same with yours, that time system disagrees about version of modules. Is there any way to flash your file system with no error or is there any advice to get rid of this situation ?

Thanks in advance, sincelery.

Direct acess memmory

Hi. I'm trying to go straight to the registers, but nothing works. What am I doing wrong ??

#include <sys/mman.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>

int main(){
printf("new program");
char dev_name[] = "/dev/mem";
int gpio_base;
int fd = open(dev_name, O_RDWR|O_SYNC);
if(fd<0){
printf("open %s is error\n",dev_name);
return -1 ;
}
int sz = getpagesize();
printf("\ngetsize = %u\n", sz);
printf("str = %x ",(0x1c208d8/sz) * sz);
volatile unsigned int str = (0x1c208d8/sz) * sz;
/

unsigned char buf[100];
lseek(fd, 0, SEEK_SET);
lseek(fd, 0x1c208d8, SEEK_SET);
read(fd, buf,1000000);
*/
for(int i = 0; i < 200; i+=1)
{
/*if ((int)(buf[i] <<3| buf[i+ 1] <<2| buf[i+2] << 1| buf[i +4]) == 0x7$
{
printf("ok");
}
*/
printf("\n %x \n", gpio_base[i]);
}

////*gpio_base_out &=0xfffffff8;
////*gpio_base_out = 1;
int mum = munmap(gpio_base, 0x32);
if (mum== 0)
{
printf("\nOK\n");
}
else
{
printf("\nNO OK \n");
}

if(gpio_base == NULL){
printf("gpio base mmap is error\n");
close(fd);
return -1;
}

return 0;

}

rootfs download location?

Hi Zepan,

I just purchased one of your Lichee Pi Nano's and trying to get it to work with an sdcard. Are these rootfs's still available to download from somewhere?

rootfs-brmin.tar.gz - is the most streamlined root file system with only 1.5M
rootfs-brpy.tar.gz - Based on brmin, the python environment
rootfs-minmin.tar.gz - debian (including apt, network)
rootfs-mindb.tar.gz - debian (including apt, network, gcc, python...)
rootfs-minX.tar.gz - debian( Include desktop system)

Thanks.

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.