View unanswered posts | View active topics It is currently Wed Mar 20, 2019 9:33 pm



Reply to topic  [ 2 posts ] 
 Hardware issues with NAND? 
Author Message

Joined: Sat Feb 15, 2014 11:13 pm
Posts: 16
Post Hardware issues with NAND?
Hello,

I got a utilte pro since last year and since the kernel 3.10 was released I can finally use it as AP without crooked USB-wifi dongles (2 network cards make an exceptionable router, but a router without WiFi AP is useless with the amount of mobile devices we have).
Now since I tried again with the kernel and changed the uboot flash to boot from the old kernels as my modified kernel (additionally removed drivers) failed to boot and such I came across an issue that I cannot write to the NAND anymore. Neither from within the OS via fw_setenv now via saveenv in u-boot.
fw_setenv doesn't return anything, fw_printenv returns the old value.
# setenv kernel uImage.new
does the job, saveenv also reports doing its job as it is writing the flash, printenv shows the new value then (as per setenv). After a reset the old value is back (uImage for example, whereas I expected uImage.new).

rgds


Thu May 28, 2015 7:50 am
Profile

Joined: Sat Feb 15, 2014 11:13 pm
Posts: 16
Post [SOLVED] Re: Hardware issues with NAND?
Fixed it.
I did a uboot update:
http://www.compulab.co.il/utilite-compu ... oot_Update
From the ubuntu based image I couldn't update at first so I went with the method of booting uboot from the SD-card into my normal system (Gentoo). From there I changed, finally successful, the kernel parameter again. This time it was obviously saved.
Then the updatescript from the utilite ubuntu installation then worked.
Actually it updated the uboot from a 2009-version to a 2014.
Code:
>> Checking for utilities...
>> ...Done
>> Checking that board is CM-FX6 (Utilite)...
>> ...Done
Please input firmware file path (or press ENTER to use "cm-fx6-firmware"):
>> Looking for boot loader image file: cm-fx6-firmware
>> ...Found
>> Looking for SPI flash: mtd0
>> ...Found
>> Current U-Boot version in SPI flash: U-Boot 2009.08-cm-fx6-0.94+tools (Jan 2
>> New U-Boot version in file:          U-Boot 2014.10-cm-fx6-2.2 (May 18 2015
>> Proceed with the update?
1) Yes
2) No
#? 1
** Do not power off or reset your computer!!!
>> Erasing SPI flash...
Erasing 4 Kibyte @ bf000 -- 100 % complete
>> ...Done
>> Writing boot loader to the SPI flash...
...
>> ...Done
>> Checking boot loader in the SPI flash...
.
>> ...Done
>> Boot loader update succeeded!


Actually this helped another issue. I replaced the SSD with another 256GB SSD. Sicne that time the utilite didn't boot without help as it would not recognize the SSD on the SATA port after a cold boot. It would need a "reset" on the serial console to actually boot up. Now i don't need that anymore :)


Sun Jun 28, 2015 6:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.