[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community :: View topic - MMC/SD SPI disk
8devices Community
https://www.8devices.com/community/

MMC/SD SPI disk
https://www.8devices.com/community/viewtopic.php?f=1&t=32
Page 4 of 5

Author:  robosavvy [ 30 May 2012, 09:25 ]
Post subject:  Re: MMC/SD SPI disk

Hi auxtoni78

If you loose console access, as a failsafe you can always reinstall the firmware through the bootloader.

The bootloader is something that runs when you first boot and it's completely independent of Linux and inittab (it runs before loading the OS).

Therefore if you brick the board you can always use the bootloader to load a fresh new image (it's done with a serial connection and a TFTP server; it's described in the wiki).

We've worked with a RALINK board that only exposes 1 UART and we need to detach it from the console to be able to talk to serial devices. You can always access the console through SSH but if something goes wrong with either SSH server or the LAN set up you need to erase and restart by re loading a fresh firmware which is a real pain as you say.

That's why moving to Carambola appeals so much to us. You can imagine how frustrating it is to have to re do hours of work whenever something goes wrong (and that "something" you never knwo what it is because you lost console).


However from a functionality point of view it's practically impossible to brick these devices with a wrong Linux config becaus eyou can always re load a fresh image using the bootloader.

Pedro

Author:  NaYthan [ 30 May 2012, 09:29 ]
Post subject:  Re: MMC/SD SPI disk


Author:  auxtony78 [ 30 May 2012, 09:37 ]
Post subject:  Re: MMC/SD SPI disk

NaYthan, robotsavvy,

Thanks for your reply!
I've completly ommited that the bootloader is totally independant... Shame on me!

Author:  NaYthan [ 30 May 2012, 09:41 ]
Post subject:  Re: MMC/SD SPI disk


Author:  wtelecom [ 30 May 2012, 10:05 ]
Post subject:  Re: MMC/SD SPI disk


Author:  wtelecom [ 30 May 2012, 11:14 ]
Post subject:  Re: MMC/SD SPI disk

I think I will give the patch proposed in "Better uart1/spi/jtag mode switch" a try. I've searched for the software change in the mmc-over-gpio modules with no luck. I wonder if the UART1 is in gpio-mode by default. Can anyone check this?
The idea is to apply this patch to change the UART1 mode to GPIO+UARTF and change the pins I'm using.
I will be back tomorrow, hope I have good news!

Author:  NaYthan [ 30 May 2012, 11:27 ]
Post subject:  Re: MMC/SD SPI disk

yes, UART0 is in gpio mode by default, that's why you need the mmio tool...

Author:  wtelecom [ 04 Jun 2012, 06:50 ]
Post subject:  Re: MMC/SD SPI disk

Finally I tried

mmio 0x10000060 0x15

to share the 4 pins of the UART0 with GPIOs. I also moved the SD pins to the GPIO 11, 12, 13 & 14. The SD is still working and I also got access to the UART0.

So I now have the SD, UART0 & UART1 working.
As I said I installed full python in the SD and it's still working. I once received a "segmentation fault" when I executed python, but tried again and worked fine.

Author:  mobyfab [ 08 Aug 2012, 17:36 ]
Post subject:  Re: MMC/SD SPI disk

Any update about this?

Did you get the MMC over SPI working?

Thanks.

Author:  sidhant [ 15 Aug 2012, 21:51 ]
Post subject:  Re: MMC/SD SPI disk

I would also like to add external storage, preferably MMC/SDCARD to Carambola, and would love to know if there has been an update to this?

Thank you 8devices!

Sidhant

Page 4 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/