This is an old revision of the document!


CloudShell2 JSM561 USB to SATA Bridge Firmware Upgrade Guide


# DATE F/W Base Release F/W version The F/W release note Issues
0 2016.9.19 JMS561 Standard F/W JMS561b_v8.0.3.7 1. SATA device error and disconnect, when requesting
the S.M.A.R.T information.
2. No Raid manager tool for JMS56X controller console version.
3. smartctl command getting the same serial number and same smart
information even if two SATA devices plug on JMS561.
1 2017.6.16 JMS561 Standard F/W v158.001.000.001 1. First release
2. Support USB BOT mode only
3. Support JMS561 RAID AP under Linux O/S
4. Not support USB Attached SCSI(UAS)
2 2017.7.28 v158.001.000.001 v158.001.000.002 1. SMART log display base on WD My Book Duo
JMS561 behavior.
4. Not support USB Attached SCSI(UAS)
3 2017.8.3 v158.001.000.002 v158.001.000.003 1. Fix S.M.A.R.T log display issue @ JMS561 SATA Port 1 4. Not support USB Attached SCSI(UAS)
4 2017.9.6 v158.001.000.003 v158.001.000.004 1. Support USB UAS Mode 5. The issue number 1 cannot fix.
Jmicron said that there is UAS(USB3.0 host driver) issue of both OS
Linux and Windows.
6. The issue number 3 cannot fix. Jmicron said it's H/W limitations.

I quoted written by lsc117 from odroid forum. And modified it slightly.
It runs under Windows system only at the moment.
but, We are going to get it Linux version(ARM platform) from Jmicron.

0. Pull out 40pin header where connected between XU4 and Cloudshell2 board.
It cut the power on XU4.

1. Connect your HDDs to Cloudshell2 first.

2. Connect a power cable to Cloudshell2.

3. Connect your CloudShell2 to a Windows PC via USB cables ( a longer micro USB 2.0 could be fine like this picture)

4. Download the writing utility for windows and extract it.
Direct link : https://dn.odroid.com/cs2/JMMassProd2_v1_16_14_34.zip

5. Download JSM561_FWs.zip into the same utility directory and extract it.
jsm561_fws.zip

6. Run JMMassProd2_v1_16_14_1.exe file.

7. Load the Cloudshell2.ini file.

If you see Error message “Unable to find the test file : test.bin”,
You just ignore it.

8. Check RD Version with a password.(password : jmicron)

9. Check “Firmware Update” and Click “Load F/W file” and then select f/w .bin file you want.

Check it the above revision history first.
The version is v158.001.000.004 the latest we strongly recommend.

10. Push Start button.
You can see the progress and then “Pass” displayed in a few seconds.
If your CloudShell2 does not show, then you should remove the USB cable to Host PC and try again.

We have checked some disk drive plug on JMS561.
There is some disk driver doesn't return their S.M.A.R.T information properly.
The HDD is disconnected and it is never connected again until the system reboot in one of the conditions.
so, We reported many times to the Jmicron to fix its behavior. and have answered the above revision history finally.
Furthermore, They didn't move fast as we thought.
That is why we have decided to make this script.

If your Cloudshell2 running with Openmediavault and JSM561 f/w version is v158.001.000.004,
You have to run this script. It will change smart command option to prevent system halt.
If you want to see JSM561 f/w version, you should use tool JMMassProd2_v1_16_14_1.exe under Windows.
Or use raid manager(raidmgr_static) console version under CloudShell2 if you have JSM561 f/w is higher then JMS561b_v8.0.3.7.

1. Download this chOpSmartinfo.zip file and extract it.
chopsmartinfo.zip

2. Upload it to your CloudShell2 and run

root@odroidxu4:~# ./chOpSmartinfo.sh
root@odroidxu4:~# sync; sync; sync
root@odroidxu4:~# reboot

This tool shows us some information about JMS56X. and also can build RAID on your CloudShell2.
It works when JM561 F/W version is higher then JMS561b_v8.0.3.7.
User Guide for Raid manager included.
raidmgr_static_cloudshell2.zip

1. Download this raidmgr_static_cloudShell2.zip and extract it.

2. Upload it to your CloudShell2 and run.

root@odroidxu4:~# ./raidmgr_static 
 
JMS56X HW RAID Manager V8.0.0.1
(C) 2008~2011 JMicron Tech, Corp. Command Line Interface RAID Manager For JMS56X.
 
JMS56X>   
 
Valid commands set are:
=======================
 
 GC ------------------------------------- Get avail JMS56X
 DC C[n] -------------------------------- Display controller info
 SR C[n] -------------------------------- Show avail RAID info
 SS C[n] -------------------------------- Show avail SATA info
 SM C[n] D[n] --------------------------- Show disk S.M.A.R.T. info
 CR C[n] D[0,..,2] R0|R1|JBOD ----------- Create RAID
 DR C[n] R[n] --------------------------- Delete RAID
 SF C[n] -------------------------------- Show firmware version
 SA C[n] -------------------------------- Set alarm mute
 GR C[n] R[n] --------------------------- Get rebuilding percentage
 ID C[n] D[n] --------------------------- Identify disk
 ST C[n] R[n] timer --------------------- Set standby timer
 AS C[n] D[n] R[n] ---------------------- Add spare disk
 DS C[n] D[n] R[n] ---------------------- Delete spare disk
 EX ------------------------------------- Exit
 
JMS56X>