Installing Arch Linux on Hobbitboard Poslab

Development on core packages and the distribution goes on in here.

Re: Installing Arch Linux on Hobbitboard Poslab

Postby summers » Thu Apr 05, 2018 11:46 am

Hard for me to say - it isn't hardware that I have, and debugging these boards is never clear.

Usually it a case of research, then trying things, and seeing what works. The UART may say more, but again who can say what the output means.

Sorry that not much help. Unless some one piped up that owns one of these boards, we may not get more information ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Installing Arch Linux on Hobbitboard Poslab

Postby summers » Mon Apr 09, 2018 9:58 am

Hi,

Just to check - did you contact poslab and ask how to get the board to boot up in Serial downloader mode?

Regards,

David.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Installing Arch Linux on Hobbitboard Poslab

Postby kovzone » Mon Apr 09, 2018 3:39 pm

Yes, I asked them, many times, and many ways, and they really give a very slow response. But now, I get it. It turns out that to make it as serial downloader mode, we have to push red button with power. I still don't know what the dip switch do.

The problem now is I've successfully run the mfgtools with arch linux, but after I run it to boot to emmc, the display is blank. Not sure if it's stuck on Uboot or what.. any suggestion?

I'm afraid that the image file is not working. It's archlinux.tgz with size around 300MB. Do you know where to get the image file?
kovzone
 
Posts: 11
Joined: Tue Apr 03, 2018 10:24 am

Re: Installing Arch Linux on Hobbitboard Poslab

Postby summers » Mon Apr 09, 2018 5:33 pm

So bootbomb manages to make the USB-OTG look like a memory stick?

You'll need to install both the file system (form the .tar.gz) and the uboot (from the .imx) to get a bootable system.

Do you mount the pseudo memory stick from a linux system? If so the commands give on the install page should work. If mounting on windows - then hopefully one of the windows compressors should work (e.g. 7-zip). Installing the uboot - you need to write to the raw file system, not sure how to do that in windows ...

To debug, when booting a UART should be active, so if you have a 3.3V USB-serial connector (like http://www.ftdichip.com/Products/Cables/RPi.htm) and know where the UART is, then you can follow the process on a second machine, and see where it goes wrong ...

P.S. Holding down the red button during boot, sounds different from the imx6 reference manual! So wonder what its doing ...

P.P.S. and forgot to say, thanks for taking the time to find out how to serial download mode works on the new board Hobbitboard.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Installing Arch Linux on Hobbitboard Poslab

Postby kovzone » Fri Apr 13, 2018 11:00 am

$this->bbcode_second_pass_quote('', 'S')o bootbomb manages to make the USB-OTG look like a memory stick?

Not sure, after I do this commands: ./imx_usb ../bootbomb-20160510.imx
its said:
$this->bbcode_second_pass_code('', '
administrator@hp:~/hobbitboard_tools-20160511/linux$ sudo ./imx_usb ../bootbomb-20160510.imx
config file <./imx_usb.conf>
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
config file <./mx6_usb_work.conf>
parse ./mx6_usb_work.conf
15a2:0054(mx6_qsb) bConfigurationValue =1
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename ../bootbomb-20160510.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 2
jump_addr 0x00000000
== end work item
Setting boot_data_ptr to 0
main dcd length 1e0
sub dcd length 1dc

loading binary file(../bootbomb-20160510.imx) to 877ff400, skip=0, fsize=227c00 type=aa

<<<2259968, 2259968 bytes>>>
succeeded (status 0x88888888)
jumping to 0x877ff400
')

So it looks succeed, but when I try to look for the device /dev/ where the emmc is listed, I couldn't find it. I've tried fdisk, lsblk, but I couldn't find the emmc partition for "Install to eMMC" part.

Any suggestion?
kovzone
 
Posts: 11
Joined: Tue Apr 03, 2018 10:24 am

Re: Installing Arch Linux on Hobbitboard Poslab

Postby summers » Fri Apr 13, 2018 11:06 am

To my mind that says yes we managed to go into boot serial load.

Now we don;t know what bootbomb does beyond the instructions. What the instructions suggest is that it will appear as a memory stick when it reboots. If you are on linux, you should be able to see this in "dmesg" - so see if the USB device changes itself to memory stick.

Depending on what that says, tells us if we can use bootbomb on your machine. If not need to see if we can find who wrote bootbomb ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Installing Arch Linux on Hobbitboard Poslab

Postby kovzone » Fri Apr 13, 2018 11:15 am

it's very long. The result for dmesg is attached
kovzone
 
Posts: 11
Joined: Tue Apr 03, 2018 10:24 am

Re: Installing Arch Linux on Hobbitboard Poslab

Postby summers » Fri Apr 13, 2018 11:20 am

Last few lines of "dmesg" should be enough, as they will be the most recent messages. Either that or look into doing a grep that pulls out the right usb bits ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Installing Arch Linux on Hobbitboard Poslab

Postby kovzone » Fri Apr 13, 2018 11:22 am

Sorry, missed the attachment. Take long time to Upload. Also to note, the processor type of Hobbitboard POSLAB (iMX6Q) and Wandboard (iMX6UL) is different. Will it be a problem?
kovzone
 
Posts: 11
Joined: Tue Apr 03, 2018 10:24 am

Re: Installing Arch Linux on Hobbitboard Poslab

Postby kovzone » Fri Apr 13, 2018 11:24 am

Strange,, why I couldn't see the attachment. I thought it was uploaded.

$this->bbcode_second_pass_code('', '[ 2708.806131] wlan0: send auth to 00:71:c2:33:df:91 (try 1/3)
[ 2708.808702] wlan0: authenticated
[ 2708.809915] wlan0: associate with 00:71:c2:33:df:91 (try 1/3)
[ 2708.837729] wlan0: RX AssocResp from 00:71:c2:33:df:91 (capab=0x411 status=0 aid=7)
[ 2708.837822] wlan0: associated
[ 2711.138427] cfg80211: World regulatory domain updated:
[ 2711.138431] cfg80211: DFS Master region: unset
[ 2711.138433] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2711.138437] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2711.138439] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2711.138442] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2711.138444] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2711.138447] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2711.138450] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2711.138452] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2711.138454] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 2712.274731] wlan0: authenticate with 00:71:c2:33:df:91
[ 2712.290360] wlan0: send auth to 00:71:c2:33:df:91 (try 1/3)
[ 2712.310099] wlan0: send auth to 00:71:c2:33:df:91 (try 2/3)
[ 2712.326265] wlan0: authenticated
[ 2712.330335] wlan0: associate with 00:71:c2:33:df:91 (try 1/3)
[ 2712.386909] wlan0: associate with 00:71:c2:33:df:91 (try 2/3)
[ 2712.426630] wlan0: associate with 00:71:c2:33:df:91 (try 3/3)
[ 2712.455990] wlan0: association with 00:71:c2:33:df:91 timed out
[ 2732.112645] wlan0: authenticate with 00:71:c2:33:df:91
[ 2732.127965] wlan0: send auth to 00:71:c2:33:df:91 (try 1/3)
[ 2732.142141] wlan0: authenticated
[ 2732.143876] wlan0: associate with 00:71:c2:33:df:91 (try 1/3)
[ 2732.193042] wlan0: associate with 00:71:c2:33:df:91 (try 2/3)
[ 2732.230615] wlan0: associate with 00:71:c2:33:df:91 (try 3/3)
[ 2732.241552] wlan0: RX AssocResp from 00:71:c2:33:df:91 (capab=0x411 status=0 aid=7)
[ 2732.241669] wlan0: associated
[ 2734.131075] cfg80211: World regulatory domain updated:
[ 2734.131092] cfg80211: DFS Master region: unset
[ 2734.131095] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2734.131101] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2734.131106] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2734.131110] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2734.131116] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2734.131122] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2734.131127] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2734.131132] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2734.131137] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 2738.521145] wlan0: authenticate with 00:71:c2:33:df:91
[ 2738.536895] wlan0: send auth to 00:71:c2:33:df:91 (try 1/3)
[ 2738.585478] wlan0: send auth to 00:71:c2:33:df:91 (try 2/3)
[ 2738.588758] wlan0: authenticated
[ 2738.592388] wlan0: associate with 00:71:c2:33:df:91 (try 1/3)
[ 2738.650413] wlan0: associate with 00:71:c2:33:df:91 (try 2/3)
[ 2738.686390] wlan0: associate with 00:71:c2:33:df:91 (try 3/3)
[ 2738.691430] wlan0: RX AssocResp from 00:71:c2:33:df:91 (capab=0x411 status=0 aid=7)
[ 2738.691555] wlan0: associated
[ 2745.812163] wlan0: deauthenticated from 00:71:c2:33:df:91 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[ 2745.858943] cfg80211: World regulatory domain updated:
[ 2745.858950] cfg80211: DFS Master region: unset
[ 2745.858952] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2745.858955] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2745.858957] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2745.858959] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2745.858961] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2745.858963] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2745.858966] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2745.858967] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2745.858969] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 2865.918693] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3030.723089] usb 2-1.1: USB disconnect, device number 11
[ 3038.181133] usb 2-1.1: new high-speed USB device number 12 using ehci-pci
[ 3038.274846] usb 2-1.1: New USB device found, idVendor=15a2, idProduct=0054
[ 3038.274856] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3038.274861] usb 2-1.1: Product: SE Blank ARIK
[ 3038.274865] usb 2-1.1: Manufacturer: Freescale SemiConductor Inc
[ 3038.277720] hid-generic 0003:15A2:0054.0008: hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank ARIK] on usb-0000:00:1d.0-1.1/input0
[ 3303.826164] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2854)
[ 3303.826166] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2848)
[ 3303.826168] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1056)
[ 3303.826170] CPU2: Core temperature above threshold, cpu clock throttled (total events = 1056)
[ 3303.826174] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2848)
[ 3303.826175] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2848)
[ 3303.826178] mce_notify_irq: 2 callbacks suppressed
[ 3303.826179] mce: [Hardware Error]: Machine check events logged
[ 3303.827165] CPU2: Core temperature/speed normal
[ 3303.827166] CPU3: Core temperature/speed normal
[ 3303.827168] CPU1: Package temperature/speed normal
[ 3303.827169] CPU0: Package temperature/speed normal
[ 3303.827170] CPU3: Package temperature/speed normal
[ 3303.827172] mce: [Hardware Error]: Machine check events logged
[ 3303.827178] CPU2: Package temperature/speed normal
[ 4657.071710] usb 2-1.1: USB disconnect, device number 12
[ 4667.247083] usb 2-1.1: new high-speed USB device number 13 using ehci-pci
[ 4667.339820] usb 2-1.1: New USB device found, idVendor=15a2, idProduct=0054
[ 4667.339824] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4667.339826] usb 2-1.1: Product: SE Blank ARIK
[ 4667.339828] usb 2-1.1: Manufacturer: Freescale SemiConductor Inc
[ 4667.341725] hid-generic 0003:15A2:0054.0009: hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank ARIK] on usb-0000:00:1d.0-1.1/input0
[ 4677.290671] usb 2-1.1: USB disconnect, device number 13
[ 4677.488004] usb 2-1.1: new high-speed USB device number 14 using ehci-pci
[ 4677.581445] usb 2-1.1: New USB device found, idVendor=15a2, idProduct=0054
[ 4677.581455] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4677.581461] usb 2-1.1: Product: SE Blank ARIK
[ 4677.581465] usb 2-1.1: Manufacturer: Freescale SemiConductor Inc
[ 4677.586262] hid-generic 0003:15A2:0054.000A: hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank ARIK] on usb-0000:00:1d.0-1.1/input0')

last 100 line
kovzone
 
Posts: 11
Joined: Tue Apr 03, 2018 10:24 am

PreviousNext

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 4 guests