in Embedded, IOT, Linux

Samsung ARTIK 530 Image Update

Summary

Setup the ARTIC 530 board, update the image, successfully start up.
Received the package as below,
ARTIK 5 unpack

ARTIK 530 Image Update

Detail procedure to update the ARTIK 530 Image refer to this link and this link.
Download ARTIK 530 Firmware Image A530-OS-1.0.0.
Use Etcher to prepare the Micro SD card.
SW402-4 must be ON for booting from the SD card.
SW402-4 on

Download OS image

Download OS image procedure as below,

Connecting to COM8...
Connected.

U-Boot 2016.01-0530GC0F-44F-01Q3 (Nov 18 2016 - 15:52:05 +0900)

Model: Samsung artik530 raptor board based on Nexell s5p4418

Board: ARTIK530 Raptor
DRAM:  512 MiB
HW Revision:    4
MMC:   NEXELL DWMMC: 0, NEXELL DWMMC: 1
In:    serial
Out:   serial
Err:   serial
LCD#1:0x4, LCD#2:0x4, CAM#1:0x4, CAM#2:0x4
ADD-ON-BOARD : 0xFFFF
Net:   
Warning: ethernet@c0060000 (eth0) using random MAC address - ce:07:43:a5:2b:a5
eth0: ethernet@c0060000
Hit any key to stop autoboot:  0 
** Unrecognized filesystem type **
322 bytes read in 13 ms (23.4 KiB/s)

Partitions:
  mmc.0 : 2ndboot : img : 0x200, 0x10000 : bl1-emmcboot.img , 0
  mmc.0 : bootloader : img : 0x10200, 0x300000 : bootloader.img , 0
  mmc.0 : env : img : 0x310200, 0x4000 : params.bin , 0
  mmc.0 : boot : fs : 0x400000, 0x2000000 : boot.img , 1
  mmc.0 : modules : fs : 0x2400000, 0x2000000 : modules.img , 2
  mmc.0 : rootfs : fs : 0x4400000, 0x0 : rootfs.img , 3

25280 bytes read in 12 ms (2 MiB/s)
** mmc.0 partition 2ndboot (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 1, count 50 ... 50 blocks written: OK
Flash : bl1-emmcboot.img - DONE
491588 bytes read in 46 ms (10.2 MiB/s)
** mmc.0 partition bootloader (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 129, count 961 ... 961 blocks written: OK
Flash : bootloader.img - DONE
16384 bytes read in 16 ms (1000 KiB/s)
** mmc.0 partition env (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 6273, count 32 ... 32 blocks written: OK
Flash : params.bin - DONE
33554432 bytes read in 10039 ms (3.2 MiB/s)
** mmc.0 partition boot (FS)**
switch to partitions #0, OK
mmc0(part 0) is current device
switch to partitions #0, OK
mmc0(part 0) is current device
write mmc.0 = 0x400000(0x2000) ~ 0x2000000(0x10000): Done
Flash : boot.img - DONE
33554432 bytes read in 1833 ms (17.5 MiB/s)
** mmc.0 partition modules (FS)**
switch to partitions #0, OK
mmc0(part 0) is current device
switch to partitions #0, OK
mmc0(part 0) is current device
write mmc.0 = 0x2400000(0x12000) ~ 0x2000000(0x10000): Done
Flash : modules.img - DONE
** File not found rootfs.img **
33554432 bytes read in 19 ms (1.6 GiB/s)
sd recovery end

** File not found s5p4418-artik530-raptor-rev04.dtb **
48858 bytes read in 17 ms (2.7 MiB/s)
6103464 bytes read in 412 ms (14.1 MiB/s)
1421021 bytes read in 110 ms (12.3 MiB/s)
Kernel image @ 0x40080000 [ 0x000000 - 0x5d21a8 ]
## Loading init Ramdisk from Legacy Image at 49000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1420957 Bytes = 1.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4a000000
   Booting using the fdt blob at 0x4a000000
   Loading Ramdisk to 5b4e0000, end 5b63ae9d ... OK
   Using Device Tree in place at 4a000000, end 4a00eed9

Starting kernel ...

[    0.410000] cw201x 8-0062: ret=0 version(a0)
[    0.415000] cw201x 8-0062: rkbat config 0
[    0.420000] cw201x 8-0062: update flag for new battery info have not set
[    0.480000] cw201x 8-0062: get cw_capacity error; cw_capacity = 255
[    0.605000] /soc/display_drm_mipi: could not find node 'display-timing'
[    1.685000] atmel_mxt_ts 2-004a: __mxt_read_reg: i2c transfer failed (-11)
Loading, please wait...
Do recovery
Please wait until the fusing has been finished
 376MiB 0:01:10 [5.34MiB/s] [================================>] 100%            
Fusing is done.
Please turn off the board and convert to eMMC boot mode


BusyBox v1.24.0 (2016-08-26 15:33:04 KST) built-in shell (ash)

sh: can't access tty; job control turned off
#

After firmware loaded, make SW402-4 OFF for normal boot, restart the 530 board.

Communicating with ARTIK

For normal startup procedure, refer to Communicating with ARTIK.
Remember to press the power button for 1 second after power on.
press the power button for 1 second

The normal start up procedure, the screen will show as below, remember the account and password is root/root.

Connecting to COM8...
Connected.



U-Boot 2016.01-0530GC0F-44F-01Q3 (Nov 18 2016 - 15:52:05 +0900)

Model: Samsung artik530 raptor board based on Nexell s5p4418

Board: ARTIK530 Raptor
DRAM:  512 MiB
HW Revision:    4
MMC:   NEXELL DWMMC: 0, NEXELL DWMMC: 1
In:    serial
Out:   serial
Err:   serial
LCD#1:0x4, LCD#2:0x4, CAM#1:0x4, CAM#2:0x4
ADD-ON-BOARD : 0xFFFF
Net:   
Warning: ethernet@c0060000 (eth0) using random MAC address - ce:07:43:a5:2b:a5
eth0: ethernet@c0060000
Hit any key to stop autoboot:  0 
** Unrecognized filesystem type **
322 bytes read in 13 ms (23.4 KiB/s)

Partitions:
  mmc.0 : 2ndboot : img : 0x200, 0x10000 : bl1-emmcboot.img , 0
  mmc.0 : bootloader : img : 0x10200, 0x300000 : bootloader.img , 0
  mmc.0 : env : img : 0x310200, 0x4000 : params.bin , 0
  mmc.0 : boot : fs : 0x400000, 0x2000000 : boot.img , 1
  mmc.0 : modules : fs : 0x2400000, 0x2000000 : modules.img , 2
  mmc.0 : rootfs : fs : 0x4400000, 0x0 : rootfs.img , 3

25280 bytes read in 12 ms (2 MiB/s)
** mmc.0 partition 2ndboot (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 1, count 50 ... 50 blocks written: OK
Flash : bl1-emmcboot.img - DONE
491588 bytes read in 46 ms (10.2 MiB/s)
** mmc.0 partition bootloader (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 129, count 961 ... 961 blocks written: OK
Flash : bootloader.img - DONE
16384 bytes read in 16 ms (1000 KiB/s)
** mmc.0 partition env (Image)**
switch to partitions #0, OK
mmc0(part 0) is current device

MMC write: dev # 0, block # 6273, count 32 ... 32 blocks written: OK
Flash : params.bin - DONE
33554432 bytes read in 10039 ms (3.2 MiB/s)
** mmc.0 partition boot (FS)**
switch to partitions #0, OK
mmc0(part 0) is current device
switch to partitions #0, OK
mmc0(part 0) is current device
write mmc.0 = 0x400000(0x2000) ~ 0x2000000(0x10000): Done
Flash : boot.img - DONE
33554432 bytes read in 1833 ms (17.5 MiB/s)
** mmc.0 partition modules (FS)**
switch to partitions #0, OK
mmc0(part 0) is current device
switch to partitions #0, OK
mmc0(part 0) is current device
write mmc.0 = 0x2400000(0x12000) ~ 0x2000000(0x10000): Done
Flash : modules.img - DONE
** File not found rootfs.img **
33554432 bytes read in 19 ms (1.6 GiB/s)
sd recovery end

** File not found s5p4418-artik530-raptor-rev04.dtb **
48858 bytes read in 17 ms (2.7 MiB/s)
6103464 bytes read in 412 ms (14.1 MiB/s)
1421021 bytes read in 110 ms (12.3 MiB/s)
Kernel image @ 0x40080000 [ 0x000000 - 0x5d21a8 ]
## Loading init Ramdisk from Legacy Image at 49000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1420957 Bytes = 1.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4a000000
   Booting using the fdt blob at 0x4a000000
   Loading Ramdisk to 5b4e0000, end 5b63ae9d ... OK
   Using Device Tree in place at 4a000000, end 4a00eed9

Starting kernel ...

[    0.410000] cw201x 8-0062: ret=0 version(a0)
[    0.415000] cw201x 8-0062: rkbat config 0
[    0.420000] cw201x 8-0062: update flag for new battery info have not set
[    0.480000] cw201x 8-0062: get cw_capacity error; cw_capacity = 255
[    0.605000] /soc/display_drm_mipi: could not find node 'display-timing'
[    1.685000] atmel_mxt_ts 2-004a: __mxt_read_reg: i2c transfer failed (-11)
Loading, please wait...
Do recovery
Please wait until the fusing has been finished
 376MiB 0:01:10 [5.34MiB/s] [================================>] 100%            
Fusing is done.
Please turn off the board and convert to eMMC boot mode


BusyBox v1.24.0 (2016-08-26 15:33:04 KST) built-in shell (ash)

sh: can't access tty; job control turned off
# 


U-Boot 2016.01-0530GC0F-44F-01Q3 (Nov 18 2016 - 15:52:05 +0900)

Model: Samsung artik530 raptor board based on Nexell s5p4418

Board: ARTIK530 Raptor
DRAM:  512 MiB
HW Revision:    4
MMC:   NEXELL DWMMC: 0, NEXELL DWMMC: 1
In:    serial
Out:   serial
Err:   serial
LCD#1:0x4, LCD#2:0x4, CAM#1:0x4, CAM#2:0x4
ADD-ON-BOARD : 0xFFFF
Net:   
Warning: ethernet@c0060000 (eth0) using random MAC address - fa:26:d7:78:e2:6c
eth0: ethernet@c0060000
Hit any key to stop autoboot:  0 
** File not found s5p4418-artik530-raptor-rev04.dtb **
48858 bytes read in 12 ms (3.9 MiB/s)
6103464 bytes read in 407 ms (14.3 MiB/s)
1421021 bytes read in 103 ms (13.2 MiB/s)
Kernel image @ 0x40080000 [ 0x000000 - 0x5d21a8 ]
## Loading init Ramdisk from Legacy Image at 49000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1420957 Bytes = 1.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4a000000
   Booting using the fdt blob at 0x4a000000
   Loading Ramdisk to 5b4e0000, end 5b63ae9d ... OK
   Using Device Tree in place at 4a000000, end 4a00eed9

Starting kernel ...

[    0.405000] cw201x 8-0062: ret=0 version(a0)
[    0.410000] cw201x 8-0062: rkbat config 0
[    0.415000] cw201x 8-0062: update flag for new battery info have not set
[    0.475000] cw201x 8-0062: get cw_capacity error; cw_capacity = 255
[    0.600000] /soc/display_drm_mipi: could not find node 'display-timing'
[    1.695000] atmel_mxt_ts 2-004a: __mxt_read_reg: i2c transfer failed (-11)
Loading, please wait...

Welcome to Fedora 24 (Twenty Four)!

[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Swap.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-getty.slice.
         Starting Journal Service...
[  OK  ] Created slice system-sshd\x2dkeygen.slice.
         Mounting POSIX Message Queue File System...
         Starting Remount Root and Kernel File Systems...
         Starting Create list of required st... nodes for the current kernel...
         Mounting Debug File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on udev Control Socket.
         Mounting NFSD configuration filesystem...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Setup Virtual Console...
         Mounting Temporary Directory...
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Journal Service.
         Starting Configure read-only root support...
         Starting Flush Journal to Persistent Storage...
         Starting Rebuild Hardware Database...
         Starting Rebuild Dynamic Linker Cache...
         Starting Create System Users...
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create System Users.
[  OK  ] Started Configure read-only root support.
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Rebuild Hardware Database.
         Starting udev Coldplug all Devices...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyAMA3.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight...ss of backlight:pwm-backlight...
         Starting Load Kernel Modules...
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Started Load/Save Screen Backlight ...ness of backlight:pwm-backlight.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
         Starting Rebuild Journal Catalog...
         Starting Mark the need to relabel after reboot...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Mark the need to relabel after reboot.
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Create Volatile Files and Directories.
         Mounting RPC Pipe File System...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Rebuild Dynamic Linker Cache.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
[  OK  ] Reached target System Initialization.
[  OK  ] Started dnf makecache timer.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting GSSAPI Proxy Daemon...
         Starting OpenSSH ed25519 Server Key Generation...
         Starting OpenSSH rsa Server Key Generation...
         Starting Login Service...
         Starting find TTY for zigbee...
         Starting RFKill-Unblock All Devices...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
[  OK  ] Started Manage Sound Card State (restore and store).
         Starting OpenSSH ecdsa Server Key Generation...
         Starting alsa audio setting...
[  OK  ] Started GSSAPI Proxy Daemon.
[  OK  ] Started OpenSSH ed25519 Server Key Generation.
[  OK  ] Started find TTY for zigbee.
[  OK  ] Started RFKill-Unblock All Devices.
[  OK  ] Started OpenSSH ecdsa Server Key Generation.
[  OK  ] Started Connection service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting Notify NFS peers of a restart...
         Starting Network Name Resolution...
         Starting Marvell BT/WiFi combo power on...
[  OK  ] Started zigbee daemon.
[  OK  ] Reached target NFS client services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Permit User Sessions...
[  OK  ] Started Notify NFS peers of a restart.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Name Resolution.
         Starting Hostname Service...
[  OK  ] Started Serial Getty on ttyAMA3.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Hostname Service.
         Stopping Manage Sound Card State (restore and store)...
[  OK  ] Stopped Manage Sound Card State (restore and store).
[  OK  ] Started Manage Sound Card State (restore and store).
[  OK  ] Started alsa audio setting.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Marvell BT/WiFi combo power on.
         Starting Bluetooth service...
[  OK  ] Started pulseaudio service.
         Starting WPA supplicant...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth.
[  OK  ] Started WPA supplicant.
[  OK  ] Started OpenSSH rsa Server Key Generation.
[  OK  ] Reached target sshd-keygen.target.
         Starting OpenSSH server daemon...
[  OK  ] Started OpenSSH server daemon.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
         Starting Booting is finished...
         Starting Enable zram module...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[ Booting Done ]
[  OK  ] Started Booting is finished.
[  OK  ] Started Enable zram module.

Fedora 24 (Twenty Four)
Kernel 4.4.19-0530GC0F-44F-01Q3 on an armv7l (ttyAMA3)

artik login: 
Fedora 24 (Twenty Four)
Kernel 4.4.19-0530GC0F-44F-01Q3 on an armv7l (ttyAMA3)

artik login: root
Password: 
Login incorrect

artik login: login: timed out after 60 seconds

Fedora 24 (Twenty Four)
Kernel 4.4.19-0530GC0F-44F-01Q3 on an armv7l (ttyAMA3)

artik login: root
Password: 
Login incorrect

artik login: root
Password: 
Login incorrect

artik login: login: timed out after 60 seconds

Fedora 24 (Twenty Four)
Kernel 4.4.19-0530GC0F-44F-01Q3 on an armv7l (ttyAMA3)

artik login: root
Password: 
Last failed login: Thu Apr 28 20:15:25 EDT 2016 on ttyAMA3
There were 3 failed login attempts since the last successful login.


[root@artik ~]# cat /etc/artik_release 
BUILD_VERSION=0530GC0F-44F-01Q3
BUILD_DATE=20161116.191012
BUILD_UBOOT=U-Boot 2016.01-0530GC0F-44F-01Q3
BUILD_KERNEL=4.4.19-0530GC0F-44F-01Q3
MODEL=ARTIK530
WIFI_FW=SD8977-16.68.1.p212
BT_FW=SD8977-16.26.1.p212
ZIGBEE_FW=5.7.4 GA build 99 xNCP 0x6
SE_FW=f1010000

Reference

Etcher: Burn images to SD cards & USB drives, safe & easy.
Beginning Samsung ARTIK: A Guide for Developers
Samsung ARTIC Github
Samsung ARTIC Firmware download
Updating your ARTIK Board
Full ARTIK Image Update
Communicating with ARTIK


Write a Comment

Comment

sixteen + 18 =