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: 12839|Reply: 18

Orange Pi IoT 2G Boot From NAND

[Copy link]

6

Threads

70

Posts

368

Credits

Intermediate member

Rank: 3Rank: 3

Credits
368
Post time 2017-9-3 23:11:32 | Show all posts |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

368

Credits

Intermediate member

Rank: 3Rank: 3

Credits
368
 Author| Post time 2017-9-4 12:53:55 From the mobile phone | Show all posts
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

948

Credits

Senior member

Rank: 4

Credits
948
Post time 2017-9-3 23:55:19 | Show all posts
Thanks for your support

1

Threads

116

Posts

656

Credits

Senior member

Rank: 4

Credits
656
Post time 2017-9-4 00:18:12 | Show all posts
This is good stuff ! Hopefully we get a flashable linux image soon

0

Threads

18

Posts

509

Credits

Senior member

Rank: 4

Credits
509
Post time 2017-9-4 00:57:52 | Show all posts
Edited by Reinhard at 2017-9-3 17:59

Very good work!
Thank You!

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

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

0

Threads

6

Posts

146

Credits

Registered member

Rank: 2

Credits
146
Post time 2017-9-4 22:16:13 | Show all posts
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
Post time 2017-9-5 00:29:28 | Show all posts
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 the Code


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

6

Threads

70

Posts

368

Credits

Intermediate member

Rank: 3Rank: 3

Credits
368
 Author| Post time 2017-9-5 06:02:41 | Show all posts

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
Post time 2017-9-6 23:58:31 | Show all posts
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

368

Credits

Intermediate member

Rank: 3Rank: 3

Credits
368
 Author| Post time 2017-9-7 05:57:09 | Show all posts
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
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-9-17 04:12 GMT+8 , Processed in 0.044281 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list