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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 808|Reply: 1

How to create a proper bootable SD Card to orange 4G-IOT ?

[Copy link]

1

Threads

1

Posts

11

Credits

Novice

Rank: 1

Credits
11
Post time 2019-12-3 22:17:30 | Show all posts |Read mode
Edited by miguelRozsas at 2019-12-3 22:27

Hi there !
I just bought a orange 4G IOT board (labeled as "4G-IOT 2018.1.15") and I am not getting any video output of it.
To be honest, I am not sure it is booting at all, since in previous models, just after the power on I can see a rainbow image on display, but on this model, I got just a black screen, and "no video signal" message (generated by monitor itself).
I don't know if this is relevant or not since I don't know if this model is supposed to display that rainbow image at startup, anyway....

What I've done so far:
1) boot without any SDCard (in the hope there is something installed on eMMC, just like orange 3pi 8eMMC version)
2) boot with a SD card with the image found at  https://drive.google.com/drive/f ... qSfr3MPT58-Z1tQBex8 (Google Drive/Shared with me/Orange Pi 4G-IOT/Linux/SD Card)
This image is mostly corrupted I guess, there is nothing on boot partition, it is empty....check it out:


  1. root@fenix:/home/miguel# fdisk -l /home/miguel/Downloads/3G_linux_v01.img
  2. Disk /home/miguel/Downloads/3G_linux_v01.img: 371.3 MiB, 389332992 bytes, 760416 sectors
  3. Units: sectors of 1 * 512 = 512 bytes
  4. Sector size (logical/physical): 512 bytes / 512 bytes
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes
  6. Disklabel type: dos
  7. Disk identifier: 0x98e1904e

  8. Device                                   Boot  Start    End Sectors   Size Id Type
  9. /home/miguel/Downloads/3G_linux_v01.img1       40960 143359  102400    50M  c W95 FAT32 (LBA)
  10. /home/miguel/Downloads/3G_linux_v01.img2      143360 760415  617056 301.3M 83 Linux
  11. root@fenix:/home/miguel# mount -o ro,loop,offset=$((40960*512)),sizelimit=$((102400*512)) ~miguel/Downloads/3G_linux_v01.img mnt/p1
  12. root@fenix:/home/miguel# ls -la mnt/p1
  13. total 20
  14. drwxr-xr-x 2 root   root   16384 Dec 31  1969 .
  15. drwxrwxr-x 4 miguel miguel  4096 Dec  2 09:41 ..
  16. root@fenix:/home/miguel#
Copy the Code

However, the other partition is fine, it has the usual files, as expected.

3 ) Then I've tried with another sd image, this time 3G_linux_v01.img from the OPI 3G-IOT-A and it has the same empty boot partition. At this point I started wondering that it is not a bad image at all, but something different.
The problem is I' ve read and followed the guide but there is nothing different from the usual, I mean using Etcher balena to write the image to SD Card.
Anyway, I use the dd to write the image to the sd card, and I got the same result, I mean, the same empty boot partition on sd card ("dd bs=4M if=/home/miguel/Downloads/4G_linux_v01.img of=/dev/sdh conv=fsync")

There is a second file on the Google shared folder with files that looks like a boot content: "4G_ubuntu_sd.tar"
So I mounted the sd card boot partition and wrote that files on it:
  1. root@fenix:/home/miguel# cd /media/miguel/BOOT/
  2. root@fenix:/media/miguel/BOOT# tar -xvf ~miguel/Downloads/4G_ubuntu_sd.tar
  3. ubuntu/
  4. ubuntu/MT6737M_Android_scatter.txt
  5. ubuntu/recovery.img
  6. ubuntu/preloader_bd6737m_35g_b_m0.bin
  7. ubuntu/secro.img
  8. ubuntu/logo.bin
  9. ubuntu/trustzone.bin
  10. ubuntu/lk.bin
  11. ubuntu/boot.img
  12. root@fenix:/media/miguel/BOOT#
Copy the Code

But, again, no video signal on monitor.

I've tried to move thoses files to the root of boot filesystem (I mean not inside the ubuntu folder), but, again, no video signal nor indication a sucessfully boot occured.
BTW, after power on, the red led turns on and after a while, the green led turns on. WHat is the meaning of green led ? May I assume the green led means a sucessful boot ? If so, why I don't have a video output ?

So, How to create a proper bootable SD Card to orange 4G-IOT with HDMI video output ?

best regards


27

Threads

221

Posts

981

Credits

Senior member

Rank: 4

Credits
981
Post time 2019-12-8 02:13:24 | Show all posts
If I am correct the small size of the boot partition is simply a boot loader partition?

Aye, the lights should be indicating a good boot. Did you down load the user manual with the OS? They are on the same page.

Test the Video cable with another computer?  Have you used a TTL Serial Cable ?  It can at least output to a current PC the events in the OPi booting if everything goes right there. It's a backdoor sort of system monitor in terminal via a second computer system.  https://www.amazon.com/gp/product/B00QT7LQ88

I have very little knowledge but maybe this will help.




Thanks  [url=http://www.orangepi.org/orangepibbsen/static/image/smiley/default/biggrin.gif]http://ww
You have to log in before you can reply Login | Register

Points Rules

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

2020-7-12 05:24 GMT+8 , Processed in 0.030265 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list