Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Friday, April 1, 2022

Installing Debian Linux on H96max rk3318 TV Box

Installing Debian Linux on H96MAX rk3318 TV box. 

(RK3318 device) 4gB ram

 

There is a shortage of  Raspberry PI 4's at the moment due to some production problems and I was looking for alternative for the Raspberry P4
I found the H96MAX TV box that is about 20% slower that a Pi 4
Comparison speed wise
 
it is about 30% slower than Pi 4 according to the test below. Price about $40 R600.00
 
 Test done at http://mrbluecoat.blogspot.com/2020/10/install-linux-on-x96-max-x96-max.html

Performance compared to Raspberry Pi 4:

Raspberry Pi 4 Model B (2GB LPDDR4 RAM) 32-bit:

  • CPU Performance: Duration = 8.80 seconds (lower is faster)
  • CPU Temp: Idle = 38'c | Full load = 48'c
  • RootFS: Write = 18 MiB/s | Read = 41 MiB/s
  • RAM: Write = 339 MiB/s | Read = 606 MiB/s

Raspberry Pi 4 Model B (2GB LPDDR4 RAM) 64-bit:

  • CPU Performance: Duration = 7.27 seconds (lower is faster)
  • CPU Temp: Idle = 45'c | Full load = 52'c
  • RootFS: Write = 18 MiB/s | Read = 22 MiB/s
  • RAM: Write = 448 MiB/s | Read = 1163 MiB/s

X96 Max (4GB DDR4 RAM):

  • CPU Performance: Duration = 10.39 seconds (lower is faster)
  • CPU Temp: Idle = 36'c | Full load = 44'c
  • RootFS: Write = 35 MiB/s | Read = 43 MiB/s
  • RAM: Write = 555 MiB/s | Read = 978 MiB/s

X96 Max+ (4GB DDR3 RAM):

  • CPU Performance: Duration = 10.78 seconds (lower is faster)
  • CPU Temp: Idle = 36'c | Full load = 50'c
  • RootFS: Write = 53 MiB/s | Read = 154 MiB/s
  • RAM: Write = 507 MiB/s | Read = 868 MiB/s

Following the instruction to load debian linux on tvbox

Following the instructions here 

We need to create an SD card with Debian for the H96max to boot from and here is the procedure.
First download the image from Armbian here is the link.
 


 Multitool menu installing image from image directory  to internal flash 


Using the ubuntu write click and select multitool.img.xz and select Open with disk image writer

 

Then select the SD card as destination

  • If the SD cart writing is complete you know need to copy the debian image in the images directory on the sd card.
  • This copying of the image might take a while.
  • The unmount the card and remove it from your laptop and place it in the TVBOX

Use a tooth pic press the button in the 3.5mm earphone plug and the plug in the power keep it in until the Mutitool menu has started

 

 
 

Quick installation instructions to boot from SD Card:
  • If you are already running Armbian from eMMC, skip to the next step. Instead if you are running the original firmware you need to first erase the internal; to do so download the Multitool, burn it on an SD Card, plug the SD Card and power the TV Box. Use "Backup flash" if you want to do a backup of the existing firmware, then choose "Erase flash" menu option.
  • Build or download your preferred Armbian image;
  • Uncompress and burn the Armbian image on the SD Card;
  • Plug the SD Card in the TV Box and power it on;
  • Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt;
  • On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user
  • Run rk3318-config to configure the board specific options
  • Run armbian-config to configure timezone, locales and other personal options, or also to transfer the SD Card installation to internal ;
  • Run apt-mark hold linux-image-*-rockchip64 linux-dtb-*-rockchip64 to avoid the upgrade of kernel with the armbian official one, since it still does not contain rk3318
  • Congratulations, Armbian is running from SD Card! 

 

 

more ref

https://www.h96tvbox.com/module/xipblog/single?page_type=post&id=145&rewrite=how-to-install-stock-firmware-on-h96-max-plus-smart-tv-box

Thursday, November 2, 2017

How to make a persisnt ubuntu LIve Memeory stick (16GB)

How to make a persistent live Ubuntu USB Memory stick (16GB)


16Gb Flash disk
I wanted to create a boo-table Ubuntu live flash stick that will also keep my last installed applications and not default back to standard when I reboot.

Ubuntu 17.10 Live with all my apps

You need to create two partition fat32 for the Ubuntu instillation from ISO file and a ext4 casper-rw partition for the persistent part. The compleet proses is done with a application called DUS.
Here is the process to install the DUS software
sudo add-apt-repository universe
sudo add-apt-repository ppa:mkusb/ppa
sudo apt-get update
sudo apt-get install mkusb usb-pack-efi
sudo apt-get install mkusb-nox usb-pack-efi
dus




Select the following on the screens.

1) Double-Click on the i option Install(make a boot device):
2) Double-Click on the p option Persistent Live and select the .iso file:
3) Click on the USB drive to make persistent. I want to use my 32 GB one so I mark the radio button:
4) Click Use Defaults to let mkusb choose default:
5) Enter a percentage of the drive to reserve for persistence. Mine is a large (32GB) so I allot only 20% ~ 6GB. The remaining space will be turned into an empty portable drive:
6) Double check very carefully and confirm. You don't want to mess up another drive.

Waite until 'Done' is written go and get some coffie :-)

 Here was my configuration

Cruzer Blade     sdb                                                    14.6G
                 |-sdb4 iso9660 Ubuntu 17.10 amd64         1.4G
                 |-sdb2                                                         1M
                 |-sdb5 ext4    casper-rw                             12.9G
                 |-sdb3 vfat    usbboot                                 244M
                 `-sdb1                                                        1.1M


ref : https://askubuntu.com/questions/397481/how-to-make-a-persistent-live-ubuntu-usb-with-more-than-4gb
and https://help.ubuntu.com/community/LiveCD/Persistence