Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12Next
Return to list New
View: 32815|Reply: 14

8GB EMMC Flash in Orange Pi Plus, How can I use it?

[Copy link]

11

Threads

30

Posts

50

Credits

Registered member

Rank: 2

Credits
50
Post time 2015-5-8 00:35:37 | Show all posts |Read mode
What can I do with the 8GB EMMC Flash in Orange Pi Plus? (and how?)

Can I put Raspbian(or other OS) on it, then be able to take out the flash card without shutting down the OS?
Can I use it to store stuff on?
`df -h` isn't show anything 8 GB in size.

1

Threads

46

Posts

583

Credits

Senior member

Rank: 4

Credits
583
Post time 2015-5-8 14:20:14 | Show all posts
Edited by phelum at 2015-5-8 14:39
What can I do with the 8GB EMMC Flash in Orange Pi Plus? (and how?)

Can I put Raspbian(or other OS) on it, then be able to take out the flash card without shutting down the OS?
Can I use it to store stuff on?
`df -h` isn't show anything 8 GB in size.

I think so.  Try a sunxi program called nand-part to partition the NAND then use mkfs to format the partitions.  I suggest a small boot partiton (say 64MB) (FAT32) and the remainder of the NAND is an ext4 partition (root file system).

Booting directly from NAND might be harder because it requires a special u-boot and probably the boot0/1 code in NAND will need to be updated.  But it should be easy to get the system to boot from SD card and load the kernel (uImage) and then get everything else from NAND.  So as soon as the kernel starts you will be able to remove the SD card.

Update: The Debian server image I'm running doesn't have the NAND driver and so there is no /dev/nand.  I'll try to generate a suitable kernel.

Cheers,
Steven

2

Threads

34

Posts

305

Credits

Intermediate member

Rank: 3Rank: 3

Credits
305
Post time 2015-5-9 02:04:59 | Show all posts
In the emmc seen through the NAND driver? I thought it as just seen as a second mmc card. This however requires configuring u-boot and potentially the kernel to scan for a second mmc slot. Haven't tried it yet.
Post time 2015-5-9 05:47:22 | Show all posts
I will find a way burning Linux image to emmc flash. Please wait for a while.

6

Threads

43

Posts

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-5-10 20:00:45 | Show all posts
thx. on archlinux I have found this https://aur.archlinux.org/packages/sunxi-livesuite/

but nothing...

1

Threads

46

Posts

583

Credits

Senior member

Rank: 4

Credits
583
Post time 2015-5-12 22:00:13 | Show all posts
zhao_steven replied at 2015-5-9 05:47
I will find a way burning Linux image to emmc flash. Please wait for a while.

Hi,
I don't know if other people are already doing this but I've just managed to get my OPI (not OPI+) to boot from NAND.  It's almost the same as a Cubietruck except for the script.bin and changes to uEnv.txt.  I suspect it will be very similar with the OPI+ but I can't test this until I manage to generate a kernel with a NAND driver.  My problem with the kernel is that it's very old (3.4.43) and doesn't have the NAND driver.  Later kernels I've found don't have the sun8iw7p1 extras required for the H3.  So hopefully Steven can get us a later kernel for this board.

Cheers,
Steven

Post time 2015-5-12 23:30:43 | Show all posts
New kernel is porting.

1

Threads

76

Posts

519

Credits

Senior member

Rank: 4

Credits
519
Post time 2015-5-21 01:37:01 | Show all posts
Hi,

Where can I find the package ?

8

Threads

45

Posts

243

Credits

Intermediate member

Rank: 3Rank: 3

Credits
243
Post time 2015-5-21 17:58:01 | Show all posts
I just tried to boot Android from the emmc storage. Only an Allwinner Logo Appears. Nothing else. Even after ten minutes, theres only the Allwinner Logo... Does anyone got the same error?
I am building a german forum on at http://forum-orangepi.de
Visi

0

Threads

6

Posts

27

Credits

Novice

Rank: 1

Credits
27
Post time 2015-6-23 18:34:14 | Show all posts
Edited by AlvaTron at 2015-6-25 15:29
P.I.Joe replied at 2015-5-21 17:58
I just tried to boot Android from the emmc storage. Only an Allwinner Logo Appears. Nothing else. Ev ...

Hello PIJoe,

My English is very bad, but I'll try to explain what I did, because he same thing happened to me,
at first I had not signal on HDMIr, a red LED is lit and soon turned green, but don't do anything more.

To install androdid the steps are different,
you have them here: http://www.orangepi.org/Docs/SDc ... ll_Android_OS_image

Follow it step by step, the burno proces failed me several times,
I recommend rename image file to have no spaces or strange characters, and leave it in unit C: to avoid complications with path when you burn the image.

The point 3 process must be full completed, in my SD 8Gb it took no more than two minutes, what the program do is to create a hidden partition for the OS that PI Orange know how to interpret.

The 'Format to normal' option, what it does is remove those partitions and leave the SD as it was originally, with all the space available.
With full SD burned, insert it into the Orange IP, plug it to a USB power source and connected the HDMI.

When I switch on sometimes go and sometimes not,  I believe that it's because the charger is not powerful enough, I tried several chargers and there is one with which I have come to work,
that have 5v and 1.2A, but is a bit random, an muy Orange pi plus was going a bit slow, but I get to work.
In fact I used the miracast with my Nexus 5 and it has worked perfect, and the mouse bluetooth too.

When turned on the Orange PI, in few seconds it should show up Winner logo and the red light of the PI Orange must be on, maybe turns green fora few seconds and then return to red,
and disappear logo Winner from the TV, and it's turns black and few seconds later, no more than 1 minute the Androdid desktop should appear (all in Chinese can select the language setting, it's easy)
Once the first load with the SD, which has made the OPI+ is recorded in its internal memory the OS, you can actually remove the SD from de OPI+, and the next time you turn on the OPI+ strat with a logo animation and a few seconds and then load the OS.

The configuration is stored in the OS, and there is a button to switch on and off to near AC conector,
if you press it quickly gets on standby, if you keep perssed the device turns off, like a mobile.

I don't know if I've helped you, but I hope so.

regards!


12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-25 08:49 GMT+8 , Processed in 0.031440 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list