IRC log of #cubox of Thu 28 Feb 2013. All times are in CET < Back to index

12:42 captainigloo hi
12:42 captainigloo rabeeh: ping
12:49 rabeeh captainigloo: pong
19:40 rabeeh edorizzi: hi
19:40 edorizzi hi rabeeh
19:40 edorizzi :-(
19:40 rabeeh i was wondering if you can update the wiki about unbricking under Mac
19:40 rabeeh what?
19:41 edorizzi I would love to … but I haven't sorted out it yet
19:41 rabeeh why?
19:41 rabeeh what's missing?
19:42 edorizzi eh … let me copy paste my post on the forum
19:42 rabeeh i'v seen it
19:42 edorizzi thank you rabeeh for this post.
19:42 edorizzi I "brick" my brand new cubox pro trying to upgrade the OTB ubuntu 10.04 LTE via ubuntu update manager .. (!!)
19:42 edorizzi Using a Mac I was able, with zterm, to Xmodem send the u-boot-cubox_hynix_cubox_2GB_uart.bin to the unit, placing a USB pendrive with the /boot folder from cubox-installer-0_3.zip I found here http://download.solid-run.com/pub/solid ... installer/ in the upper USB slot.
19:42 edorizzi (btw I had to replace the microSD due to a failure error referring to it, with a 8 GB microSD)
19:42 edorizzi The procedure, according to http://www.solid-run.com/mw/index.php/CuBox_Installer, went well, I choose the ubuntu 12.10 image, then quit.
19:42 edorizzi Now
19:42 edorizzi a) if I restart the cubox I get only the Bootstrap 2.33> prompt;
19:42 edorizzi b) if I retry the whole procedure, it happens that it starts ubuntu from the usb pen:
19:42 edorizzi Ubuntu 12.10 localhost.localdomain ttyS0
19:42 edorizzi localhost login: root
19:42 edorizzi Last login: Wed Feb 27 17:35:48 UTC 2013 on ttyS0
19:42 edorizzi Welcome to Ubuntu 12.10 (GNU/Linux 3.5.7 armv7l)
19:42 edorizzi (btw no user cubox)
19:42 edorizzi Any ideas ?
19:44 rabeeh after loading via xmodem; u-boot is only on DDR and hasn't been flashed
19:44 rabeeh you must flash it; have you tried that ?
19:45 edorizzi no, but I've done something worst .. ;-9
19:45 rabeeh what?
19:45 rabeeh put a 24v power supply to CuBox?
19:45 edorizzi I re-format the microsd, now is fat32
19:45 edorizzi I was hoping that the unbrick procedure will partition it agani
19:45 edorizzi eheehehe
19:46 rabeeh that's ok; the installer wipes all partitions
19:46 rabeeh what you need to do is -
19:46 rabeeh 1. download http://download.solid-run.com/pub/solidrun/cubox/installer/cubox-installer-0_3.zip
19:46 rabeeh that's the installer version 0.3
19:46 edorizzi I have
19:46 rabeeh 2. http://download.solid-run.com/pub/solidrun/cubox/u-boot/2009.08_5.4.4_SR1/feb-28-2013/u-boot-cubox_hynix_cubox_unified_spi.bin
19:46 rabeeh download the unified spi flash image.
19:46 edorizzi I have it also
19:47 rabeeh 3. copy that image into the /boot/ directory of the unzipped cubox installer
19:47 rabeeh 4. rename that image to u-boot.bin
19:47 rabeeh when the cubox installer runs and detects that u-boot.bin, it will flash it on the SPI flash.
19:48 edorizzi I can do it right now
19:48 rabeeh go ahead
19:49 edorizzi sending u-boot-cubox_hynix_cubox_2GB_uart.bin with xmodem
19:53 edorizzi unfortunately it goes untill the TFTP boot ...
19:53 edorizzi ** Unable to use ide 0:2 for fatload **
19:53 edorizzi Using egiga0 device
19:53 edorizzi TFTP from server 192.168.15.100; our IP address is 192.168.15.223
19:53 edorizzi Filename 'boot.scr'.
19:53 edorizzi Load address: 0x2000000
19:53 edorizzi Loading: T T T T T T T T
19:53 rabeeh ok
19:53 edorizzi (last few lines)
19:53 rabeeh usb stick is on the top connector?
19:54 rabeeh the stick that has the CuBox installer?
19:54 edorizzi the stick in on top
19:54 edorizzi it has the cubox-installer-0_3.zip unzipped into a /boot folder
19:54 rabeeh which brand is that stick?
19:55 rabeeh u-boot is picky on the types of the USB sticks
19:55 rabeeh do you have a sandisk one?
19:55 edorizzi the stick is a I-gear pro GB
19:56 rabeeh have another one?
19:56 edorizzi do you want me to reformat it (once it worked)
19:56 rabeeh oh
19:56 rabeeh fat32
19:56 rabeeh fat32 works just fine
19:57 edorizzi btw it bricked a previous stick
19:57 edorizzi (now it has only 8 MB available-it is a generic one)
19:58 edorizzi I can format a lacie stick
20:09 rabeeh typically usb sticks are fat32 pre-formatted
20:11 edorizzi I changed to a lacie one … now the installer is working
20:11 rabeeh ok.
20:12 edorizzi so, now I get a IP address from DJCP then run the installer right ?
20:12 rabeeh before installing anything; just power off and power on and check if u-boot is alive
20:12 edorizzi DHCP
20:12 edorizzi ok
20:12 rabeeh so u-boot has been flashed?
20:13 edorizzi I unplugged the stick and power off/on
20:13 edorizzi Bootstrap 2.33>
20:14 edorizzi nothing else
20:14 rabeeh damn it
20:14 rabeeh did you put the _spi.bin version under the boot/ directory?
20:14 edorizzi yes
20:14 rabeeh and renamed the file to u-boot.bin?
20:14 edorizzi yes
20:18 edorizzi I'm sending you two screenshot : which file I'm using and the /boor content
20:21 edorizzi never mind, I stopped the tranfer
20:21 edorizzi transfer
20:31 edorizzi still here ?
20:32 rabeeh yes.
20:35 edorizzi what do you suggest ? go ahed and run the installer ?
20:38 rabeeh i'm writing a script for the cubox installer that installs u-boot from it
20:39 edorizzi ah, ok
20:42 rabeeh ok. added a new section the cubox installer
20:42 rabeeh you don't need the u-boot.bin file anymore; just boot the installer and choose u-boot from the menu
20:42 rabeeh can u do it right now?
20:43 rabeeh i'm about to log off in 10-15m
20:43 edorizzi yes .. whar I can download it ?
20:43 rabeeh the same cubox installer 0.3
20:44 rabeeh just boot it; i'v added flashing u-boot from the web
20:44 edorizzi I download it from the same source ?
20:44 rabeeh no no
20:44 rabeeh just boot it
20:44 rabeeh :)
20:44 rabeeh boot the cubox installer 0.3 that you have; exactly the same way as you did before
20:45 edorizzi so I start again from the beginning, get the IP fromDHCP then run the installer ?
20:45 rabeeh yes
20:46 edorizzi I'm doing right now
20:46 rabeeh ok
20:47 rabeeh then choose run the installer
20:47 rabeeh choose /dev/mmcblk0 (although it's irrelevant)
20:47 rabeeh then choose u-boot
20:48 edorizzi ok
20:48 edorizzi I'm uploading now
20:48 edorizzi 50 sec left
20:49 rabeeh notice that we have to servers for the downloads; and about 10m-15m to rsync between them
20:49 rabeeh so you might not see the u-boot entry. if not then wait few minutes and it should be there.
20:49 edorizzi ok
20:50 rabeeh there?
20:50 edorizzi is online
20:51 edorizzi partitioning the microsd
20:52 rabeeh did you choose u-boot from the installation menu?
20:53 edorizzi yes, as you said .. the script was online
20:53 edorizzi I'm downloading something now
20:53 rabeeh but before doing that; can you make sure u-boot is flashed?
20:54 rabeeh just power off / on and see if you get the prompt?
20:54 edorizzi sorry not .. I'm at 50% of the download
20:56 edorizzi if you have to go .. don't worry .. will see here tomorrow ;-)
20:57 rabeeh alright... i'm off to go then
20:57 rabeeh drop me few lines on the channel.
20:57 edorizzi I'm rebooting (from the menu)
20:59 edorizzi still Bootstrap 2.33>
23:01 undo hi
23:03 undo git upgrade installer menu
23:03 undo #is it..
23:03 undo just install
23:04 undo ..lled