View: 28566|Reply: 26

Orange Pi IoT 2G Boot From NAND

[Copy link]

6

threads

70

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
Published in 2017-9-3 23:11:32 | Show all floors |Read mode
Edited by surfero75 at 2017-9-5 06:01

Update video, now 100% boot from NAND

https://youtu.be/qJ0T0SOtLLo






I have packet all for install to Orange Pi IoT 2G
Instruction (spanish but small):
http://surfero.blogspot.com.es/2 ... r-memoria-nand.html



6

threads

70

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
 Author| Published in 2017-9-4 12:53:55 from mobile | Show all floors
Github user "aib" has done a very userfull guide for run complety linux from NAND. all the merit is yours, has done a great job part of which has served me: https://www.aib42.net/article/hacking-orangepi-2g/

3

threads

62

posts

950

credits

Senior member

Rank: 4

credits
950
Published in 2017-9-3 23:55:19 | Show all floors
Thanks for your support

1

threads

115

posts

709

credits

Senior member

Rank: 4

credits
709
Published in 2017-9-4 00:18:12 | Show all floors
This is good stuff ! Hopefully we get a flashable linux image soon

0

threads

18

posts

509

credits

Senior member

Rank: 4

credits
509
Published in 2017-9-4 00:57:52 | Show all floors
Edited by Reinhard at 2017-9-3 17:59

Very good work!
Thank You!

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
███ Greatings from Germany ███
███             Reinhard              ███
███                                       ███

0

threads

6

posts

156

credits

Registered member

Rank: 2

credits
156
Published in 2017-9-4 22:16:13 | Show all floors
In the video, I can see the boot partition is still in the micro SD card (/dev/mmcblk0p1), but the rootfs has been moved to the NAND flash (/dev/mtd).
Is it possible to move the boot partition to the NAND flash too?

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2017-9-5 00:29:28 | Show all floors
Edited by @lex at 2017-9-4 13:36
cnxsoft replied at 2017-9-4 11:16
In the video, I can see the boot partition is still in the micro SD card (/dev/mmcblk0p1), but the r ...

I maybe wrong but the instructions merges the two partitions in one single ubifs and boot from nand.

Copy code


ubifsload ${initrd_addr} "/boot/uInitrd"
ubifsload ${kernel_addr} "/boot/zImage"
ubifsload ${modem_addr} "/boot/modem.bin"

6

threads

70

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
 Author| Published in 2017-9-5 06:02:41 | Show all floors

I have update video, now 100% boot from NAND

https://youtu.be/qJ0T0SOtLLo

If you want to use it, i have do a easy installation:
http://surfero.blogspot.com.es/2 ... r-memoria-nand.html

1

threads

8

posts

27

credits

Novice

Rank: 1

credits
27
Published in 2017-9-6 23:58:31 | Show all floors
surfero75,

I"ve installed your Opi2GIoTNANDflash.tar.gz package and it works great!
Thank you so much!

I need to build and add an extra kernel module (v4l2loopback)
Could you please provide a reference or tarball of your kernel build environment?


6

threads

70

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
 Author| Published in 2017-9-7 05:57:09 | Show all floors
Edited by surfero75 at 2017-9-7 14:45

You can use a tool that i have made for simply make kernel, modules, u-boot, etc:

https://github.com/txurtxil/OrangePiIot2gBuildSystem
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list