summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pcm037: use generic default envSascha Hauer2010-06-228-170/+46
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: use generic default envSascha Hauer2010-06-228-171/+48
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: use generic default envSascha Hauer2010-06-228-170/+46
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add a generic default environmentSascha Hauer2010-06-226-0/+214
| | | | | | | | | | | | | | | We have several nearly identical default environments in the tree. Lets merge them to a single environment and use it on many boards. This defaultenv is arm centric at the moment due to the use of arm specific boot commands. This can be improved over time. changes since last version: - fix potentially empty variable tests - be a bit more verbose in boot script - run a board specific init script (/env/bin/init_board) if it exists Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: use a random mac address if the current device does not have a valid ↵Sascha Hauer2010-06-221-1/+10
| | | | | | address Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: implement random_ether_addrSascha Hauer2010-06-221-0/+16
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include support for a simple pseudo number generatorSascha Hauer2010-06-224-0/+44
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Allow to merge default environment from more than one directorySascha Hauer2010-06-224-19/+22
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootu: Allow passing in devices as parameterSascha Hauer2010-06-171-2/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: Add MMU supportSascha Hauer2010-06-172-0/+33
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'net' into nextSascha Hauer2010-06-1752-2340/+2226
|\
| * ping: resolv hostnamesSascha Hauer2010-06-171-1/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: add dns supportSascha Hauer2010-06-174-0/+280
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * add netconsole supportSascha Hauer2010-06-175-1/+239
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * errno: add strings for network related error messagesSascha Hauer2010-06-171-3/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * rework device parametersSascha Hauer2010-06-1712-169/+202
| | | | | | | | | | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: remove old network stackSascha Hauer2010-06-173-1296/+49
| | | | | | | | | | | | All network commands now use the new stack, so remove the old one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * network drivers: call net_receive directly instead of NetReceiveSascha Hauer2010-06-1713-14/+14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: consider rarp support as outdated. Remove itSascha Hauer2010-06-173-106/+0
| | | | | | | | | | | | | | It is disabled in all defconfigs and probably broken for longer. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * implement nfs using new network stackSascha Hauer2010-06-171-370/+346
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * implement ping using new network stackSascha Hauer2010-06-171-73/+74
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * implement tftp using new network stackSascha Hauer2010-06-171-145/+126
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * implement dhcp using new network stackSascha Hauer2010-06-171-311/+180
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * remove unused sntp.hSascha Hauer2010-06-171-61/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: Implement a new network stackSascha Hauer2010-06-172-7/+874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old network stack has some bad limitations: - network commands are required to call NetLoop() which only returns when the network layer wants to. Instead we now use a net_poll() function which returns after handling one packet (or immediately if no packet is available). - There can be only one packet handler which makes it impossible to handle multiple connections - CamelCaseMakesItHardToRead The new network stack is implemented as a parallel universe. Currently all commands still use the old stack. They are converted in subsequent patches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: remove need for eth_halt/eth_openSascha Hauer2010-06-175-37/+62
| | | | | | | | | | | | | | | | | | | | | | We used to eth_open/eth_halt the network devices during NetLoopInit which is called whenever the user enters a network command. Change this behaviour so that the current network device gets opened when making it the current one. With this change it's always possible to send packages and we are able to implement a new network stack in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm start.c: Make runtime function address calculation tolerant for more ↵Sascha Hauer2010-06-131-7/+10
| | | | | | | | | | | | compilers Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: use processor specififc functions to turn off MMUSascha Hauer2010-06-101-4/+11
| | | | | | | | | | | | | | | | The way it was done before does not work on Cortex processors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Orjan Friberg <of@flatfrog.com> Tested-by: Luca Ceresoli <list@lucaceresoli.net>
| * cpuimx25: remove unused defineEric Bénard2010-06-101-2/+0
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * eukrea_cpuimx25: update defconfigEric Bénard2010-06-101-8/+15
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * eukrea_cpuimx25: add compressed logo supportEric Bénard2010-06-101-0/+3
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'next'Sascha Hauer2010-06-0333-61/+1521
| |\
| * | v2010-06.0v2010.06.0Sascha Hauer2010-06-021-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | eukrea_cpuimx27_defconfig: increase MALLOC_SIZEEric Bénard2010-06-021-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | pcm043: Fix check for being inside NFC spaceSascha Hauer2010-05-251-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX27: add required defines for I2C2Eric Bénard2010-05-181-0/+3
| | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | eukrea_cpuimx27: allow compilation without LP3972 selectedEric Bénard2010-05-181-2/+4
| | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | freescale-mx*5-3-stack : fix __flash_header_startEric Benard2010-05-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | _start is now exception_vectors since it was rewritten in C (not tested on these boards but compile should fail without this patch) Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: Fix compilationIvo Clarysse2010-06-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On barebox-next, I get: board/freescale-mx25-3-stack/built-in.o: In function `go': 3stack.c:(.flash_header_start+0x0): undefined reference to `_start' board/freescale-mx25-3-stack/built-in.o: In function `imx25_3ds_fec_init': 3stack.c:(.text.imx25_3ds_fec_init+0x4): undefined reference to `mc34704_get' 3stack.c:(.text.imx25_3ds_fec_init+0x1c): undefined reference to `mc34704_reg_write' Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Add support for Eukrea CPUIMX35Eric Benard2010-06-1016-0/+1112
| | | | | | | | | | | | | | | | | | | | | | | | this modules is based on Freescale's i.MX357 CPU, with 128MB of mDDR, 256 MB NAND, and ethernet PHY. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: fix memory initializationBaruch Siach2010-06-101-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: fix fec initializationBaruch Siach2010-06-101-31/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fec network interface initialization depends on the initialization of the PMIC. Once the MC34704 driver is registered we can enable the PHY power supply, and go on with the PHY initialization. While we are at it convert the hard-coded GPIO registers access to the general GPIO API for shorter and clearer code. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: add support for i2c master and PMICBaruch Siach2010-06-101-0/+18
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | i2c: add driver for the MC34704 PMICBaruch Siach2010-06-104-0/+170
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25: add support for i2cBaruch Siach2010-06-103-2/+8
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: cleanup lowlevel_init codeBaruch Siach2010-06-101-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unused asm/cache-l2x0.h header include * remove out of place comment * remove redundant defines Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25: fix typo in imx25-regs.hBaruch Siach2010-06-101-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: fix build failureBaruch Siach2010-06-101-1/+1
| |/ |/| | | | | | | | | | | Remove redundant parameters from the imx_nand_load_image() call. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | eukrea_cpuimx25: update envEric Bénard2010-05-262-4/+5
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | eukrea_cpuimx25: fix machine IDEric Bénard2010-05-261-1/+1
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>