at91: some fixes
Subsystems (6)
cover at91: some fixes
HI,
some fixe for at91
they are needed for at91sam9n12 support
The following changes since commit c7a729aefe13104b6f3a9f2150a9e993bb510d43:
Merge branch 'for-next/m25p80' (2012-11-21 11:54:34 +0100)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git delivery/at91_fixes
for you to fetch changes up to 02d37b5d4598cd3ffea4730aa027c8c04ab1f58d:
Revert "mtd: atmel_nand: optimize read/write buffer functions" (2012-11-22 02:21:14 +0800)
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (4):
at91: fix timer rate
atmel_nand: fix pmecc timeout
at91: clock: check overclock for sam9260/9261/9263/9rl Revert "mtd: atmel_nand: optimize read/write buffer functions"
arch/arm/mach-at91/at91sam926x_time.c | 7 ++++++- arch/arm/mach-at91/clock.c | 12 ++++++++++++ drivers/mtd/nand/atmel_nand.c | 33 +++++++++++++++++++++++++-------- drivers/mtd/nand/atmel_nand_ecc.h | 2 +- 4 files changed, 44 insertions(+), 10 deletions(-)
Best Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/4 at91: fix timer rate
today the timer rate is hardcoded to 6MHz which is wrong the PIT rate is MCK / 16
--- arch/arm/mach-at91/at91sam926x_time.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/mach-at91/at91sam926x_time.c +6 -1
@@ -34,6 +34,7 @@#include <mach/at91_rstc.h> #include <mach/io.h> #include <io.h> +#include <linux/clk.h> uint64_t at91sam9_clocksource_read (void ) {
@@ -48,16 +49,20 @@ static struct clocksource cs = {static int clocksource_init (void ) { +u32 pit_rate; +/* * Enable PITC Clock * The clock is already enabled for system controller in boot */ at91_sys_write (AT91_PMC_PCER ,1 <<AT91_ID_SYS ); + pit_rate =clk_get_rate (clk_get (NULL ,"mck" )) /16 ; +/* Enable PITC */ at91_sys_write (AT91_PIT_MR ,0xfffff |AT91_PIT_PITEN ); - cs.mult =clocksource_hz2mult (1000000 *6 , cs.shift); + cs.mult =clocksource_hz2mult (pit_rate, cs.shift);init_clock (&cs);
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/4 atmel_nand: fix pmecc timeout
the timeout is 100ms not 100ns
on sam9x5 the SoC is fast enough so we can not see it but not on sam9n12
--- drivers/mtd/nand/atmel_nand_ecc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/atmel_nand_ecc.h +1 -1
@@ -146,6 +146,6 @@#define PMECC_LOOKUP_TABLE_SIZE_1024 0x4000/* Time out value for reading PMECC status register */ -#define PMECC_MAX_TIMEOUT_MS 100 +#define PMECC_MAX_TIMEOUT_MS 100 * MSECOND#endif
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 3/4 at91: clock: check overclock for sam9260/9261/9263/9rl
In reply to Jean-Christophe PLAGNIOL-VILLARD--- arch/arm/mach-at91/clock.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/mach-at91/clock.c +12 -0
@@ -50,6 +50,12 @@#define cpu_has_300M_plla () (cpu_is_at91sam9g10()) +#define cpu_has_240M_plla () (cpu_is_at91sam9261() \ + || cpu_is_at91sam9263() \ + || cpu_is_at91sam9rl()) + +#define cpu_has_210M_plla () (cpu_is_at91sam9260()) +#define cpu_has_pllb () (!(cpu_is_at91sam9rl() \ || cpu_is_at91sam9g45() \ || cpu_is_at91sam9x5()))
@@ -602,6 +608,12 @@ int at91_clock_init(unsigned long main_clock) }else if (cpu_has_800M_plla ()) {if (plla.rate_hz >800000000 ) pll_overclock =1 ; + }else if (cpu_has_240M_plla ()) { +if (plla.rate_hz >240000000 ) + pll_overclock =1 ; + }else if (cpu_has_210M_plla ()) { +if (plla.rate_hz >210000000 ) + pll_overclock =1 ; }else {if (plla.rate_hz >209000000 ) pll_overclock =1 ;
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 4/4 Revert "mtd: atmel_nand: optimize read/write buffer functions"
In reply to Jean-Christophe PLAGNIOL-VILLARDAs in the kernel we revert as this was supposed to work but does not yet this may need more work on the smc to be able to use it
So for now revert it
This reverts commit 809f0f6327241504b5071622a8d573255f91a875.
--- drivers/mtd/nand/atmel_nand.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-)
drivers/mtd/nand/atmel_nand.c +25 -8
@@ -159,16 +159,30 @@ static int atmel_nand_device_ready(struct mtd_info *mtd)*/ static void atmel_read_buf (struct mtd_info *mtd,u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_fromio (buf, chip->IO_ADDR_R, len); +readsb (nand_chip->IO_ADDR_R, buf, len); +} + +static void atmel_read_buf16 (struct mtd_info *mtd,u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +readsw (nand_chip->IO_ADDR_R, buf, len /2 ); }static void atmel_write_buf (struct mtd_info *mtd,const u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_toio (chip->IO_ADDR_W, buf, len); +writesb (nand_chip->IO_ADDR_W, buf, len); +} + +static void atmel_write_buf16 (struct mtd_info *mtd,const u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +writesw (nand_chip->IO_ADDR_W, buf, len /2 ); }/*
@@ -1112,11 +1126,14 @@ static int __init atmel_nand_probe(struct device_d *dev) nand_chip->chip_delay =20 ;/* 20us command delay time */ -if (host->board->bus_width_16)/* 16-bit bus width */ +if (host->board->bus_width_16) {/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; + nand_chip->read_buf = atmel_read_buf16; + nand_chip->write_buf = atmel_write_buf16; + }else { + nand_chip->read_buf = atmel_read_buf; + nand_chip->write_buf = atmel_write_buf; + }atmel_nand_enable (host);
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions"
Quoted 70 lines · In message <[email protected]>…
As in the kernel we revert as this was supposed to work but does not yet this may need more work on the smc to be able to use it
So for now revert itThis reverts commit
809f0f6327241504b5071622a8d573255f91a875.Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- drivers/mtd/nand/atmel_nand.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-)drivers/mtd/nand/atmel_nand.c +25
-9@@ -159,16 +159,30 @@ static int atmel_nand_device_ready(struct mtd_info *mtd)*/ static void atmel_read_buf (struct mtd_info *mtd,u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_fromio (buf, chip->IO_ADDR_R, len); +readsb (nand_chip->IO_ADDR_R, buf, len); +} + +static void atmel_read_buf16 (struct mtd_info *mtd,u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +readsw (nand_chip->IO_ADDR_R, buf, len /2 ); }static void atmel_write_buf (struct mtd_info *mtd,const u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_toio (chip->IO_ADDR_W, buf, len); +writesb (nand_chip->IO_ADDR_W, buf, len); +} + +static void atmel_write_buf16 (struct mtd_info *mtd,const u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +writesw (nand_chip->IO_ADDR_W, buf, len /2 ); }/* @@ -1112,11 +1126,14 @@ static int __init atmel_nand_probe(struct device_d *dev) nand_chip->chip_delay =20 ;/* 20us command delay time */ -if (host->board->bus_width_16)/* 16-bit bus width */ +if (host->board->bus_width_16) {/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; + nand_chip->read_buf = atmel_read_buf16; + nand_chip->write_buf = atmel_write_buf16; + }else { + nand_chip->read_buf = atmel_read_buf; + nand_chip->write_buf = atmel_write_buf; + }atmel_nand_enable (host); --
Quoted 2 lines
1.7.10.4
This patch resolves my problem
Signature · 9 lines
Best Regards, zzs _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions"
Quoted 68 lines · 张忠山
Quoted 67 lines · In message <[email protected]>…
As in the kernel we revert as this was supposed to work but does not yet this may need more work on the smc to be able to use it
So for now revert itThis reverts commit
809f0f6327241504b5071622a8d573255f91a875.Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- drivers/mtd/nand/atmel_nand.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-)drivers/mtd/nand/atmel_nand.c +25
-8@@ -159,16 +159,30 @@ static int atmel_nand_device_ready(struct mtd_info *mtd)*/ static void atmel_read_buf (struct mtd_info *mtd,u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_fromio (buf, chip->IO_ADDR_R, len); +readsb (nand_chip->IO_ADDR_R, buf, len); +} + +static void atmel_read_buf16 (struct mtd_info *mtd,u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +readsw (nand_chip->IO_ADDR_R, buf, len /2 ); }static void atmel_write_buf (struct mtd_info *mtd,const u8 *buf,int len) { -struct nand_chip *chip = mtd->priv; +struct nand_chip *nand_chip = mtd->priv; -memcpy_toio (chip->IO_ADDR_W, buf, len); +writesb (nand_chip->IO_ADDR_W, buf, len); +} + +static void atmel_write_buf16 (struct mtd_info *mtd,const u8 *buf,int len) +{ +struct nand_chip *nand_chip = mtd->priv; + +writesw (nand_chip->IO_ADDR_W, buf, len /2 ); }/* @@ -1112,11 +1126,14 @@ static int __init atmel_nand_probe(struct device_d *dev) nand_chip->chip_delay =20 ;/* 20us command delay time */ -if (host->board->bus_width_16)/* 16-bit bus width */ +if (host->board->bus_width_16) {/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; + nand_chip->read_buf = atmel_read_buf16; + nand_chip->write_buf = atmel_write_buf16; + }else { + nand_chip->read_buf = atmel_read_buf; + nand_chip->write_buf = atmel_write_buf; + }
Quoted 7 lines
Quoted 5 lines
drivers/mtd/nand/atmel_nand.c +0
-1atmel_nand_enable (host); --1.7.10.4
This patch resolves my problem
I'm expecting to see your patches
Best Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions"
Quoted 4 lines
Quoted 2 lines
This patch resolves my problem
I'm expecting to see your patches
My first patch very simple:
------------------
drivers/mtd/nand/atmel_nand.c +3 -20
@@ -155,23 +155,6 @@ static int atmel_nand_device_ready(struct mtd_info *mtd) }/* -* Minimal-overhead PIO for data access. -*/ -static void atmel_read_buf (struct mtd_info *mtd,u8 *buf,int len) -{ -struct nand_chip *chip = mtd->priv; - -memcpy_fromio (buf, chip->IO_ADDR_R, len); -} - -static void atmel_write_buf (struct mtd_info *mtd,const u8 *buf,int len) -{ -struct nand_chip *chip = mtd->priv; - -memcpy_toio (chip->IO_ADDR_W, buf, len); -} - -/* * Return number of ecc bytes per sector according to sector size and * correction capability *
@@ -1115,8 +1098,9 @@ static int __init atmel_nand_probe(struct device_d *dev)if (host->board->bus_width_16)/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; +/* use default */ + nand_chip->read_buf =NULL ; + nand_chip->write_buf =NULL ;atmel_nand_enable (host); ------------------
After seeing your patch, I suppose the flowing patch may be works. The idea is use optimized read/write function when 2**ale >= pagesize and 2**cle >= pagesize.
I can't test it because the ale = a7, cle = a6 on my board, but pagesize is 2048
------------------
drivers/mtd/nand/atmel_nand.c +7 -2
@@ -1115,8 +1115,8 @@ static int __init atmel_nand_probe(struct device_d *dev)if (host->board->bus_width_16)/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; + nand_chip->read_buf =NULL ; + nand_chip->write_buf =NULL ;atmel_nand_enable (host);
@@ -1151,6 +1151,11 @@ static int __init atmel_nand_probe(struct device_d *dev) goto err_hw_ecc; } +if ((1 << pdata->ale) >= mtd->writesize && (1 << pdata->cle) >= mtd->writesize) { + nand_chip->read_buf = atmel_read_buf; + nand_chip->write_buf = atmel_write_buf; + } +/* second phase scan */ if (nand_scan_tail (mtd)) { res = -ENXIO ;
------------------
Signature · 9 lines
Best Regards, zzs _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions"
Quoted 6 lines · 张忠山
Quoted 4 lines
Quoted 2 lines
This patch resolves my problem
I'm expecting to see your patches
My first patch very simple:
your board patch
I'll be at the electronic market in SH tomorrow
Best Regards,
J.
Quoted 85 lines
------------------
drivers/mtd/nand/atmel_nand.c +3
-20@@ -155,23 +155,6 @@ static int atmel_nand_device_ready(struct mtd_info *mtd) }/* -* Minimal-overhead PIO for data access. -*/ -static void atmel_read_buf (struct mtd_info *mtd,u8 *buf,int len) -{ -struct nand_chip *chip = mtd->priv; - -memcpy_fromio (buf, chip->IO_ADDR_R, len); -} - -static void atmel_write_buf (struct mtd_info *mtd,const u8 *buf,int len) -{ -struct nand_chip *chip = mtd->priv; - -memcpy_toio (chip->IO_ADDR_W, buf, len); -} - -/* * Return number of ecc bytes per sector according to sector size and * correction capability * @@ -1115,8 +1098,9 @@ static int __init atmel_nand_probe(struct device_d *dev)if (host->board->bus_width_16)/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; +/* use default */ + nand_chip->read_buf =NULL ; + nand_chip->write_buf =NULL ;atmel_nand_enable (host); ------------------After seeing your patch, I suppose the flowing patch may be works. The idea is use optimized read/write function when 2**ale >= pagesize and 2**cle >= pagesize.
I can't test it because the ale = a7, cle = a6 on my board, but pagesize is 2048
------------------
drivers/mtd/nand/atmel_nand.c +7
-3@@ -1115,8 +1115,8 @@ static int __init atmel_nand_probe(struct device_d *dev)if (host->board->bus_width_16)/* 16-bit bus width */ nand_chip->options |=NAND_BUSWIDTH_16 ; - nand_chip->read_buf = atmel_read_buf; - nand_chip->write_buf = atmel_write_buf; + nand_chip->read_buf =NULL ; + nand_chip->write_buf =NULL ;atmel_nand_enable (host);@@ -1151,6 +1151,11 @@ static int __init atmel_nand_probe(struct device_d *dev) goto err_hw_ecc; } +if ((1 << pdata->ale) >= mtd->writesize && (1 << pdata->cle) >= mtd->writesize) { + nand_chip->read_buf = atmel_read_buf; + nand_chip->write_buf = atmel_write_buf; + } +/* second phase scan */ if (nand_scan_tail (mtd)) { res = -ENXIO ; ------------------Signature · 3 lines
-- Best Regards, zzs
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 4/4] Revert "mtd: atmel_nand: optimize read/write buffer functions"
Quoted 9 lines · In message <[email protected]> Jean-Christophe…
Quoted 6 lines · 张忠山
Quoted 4 lines
Quoted 2 lines
This patch resolves my problem
I'm expecting to see your patches
My first patch very simple:
your board patch
The flowing is my board patch, sorry for some chinese comments. But my board patch had nothing about drivers!
------------------------------------
Makefile +19 -0
@@ -681,10 +681,29 @@ endef quiet_cmd_objcopy = OBJCOPY $@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ +ifeq ($(CONFIG_GREATFIRST),y) +MD5SUM_VARNAME=__md5sum__ +quiet_cmd_md5sum = MD5SUM $@ + cmd_md5sum = (addr=$$($(NM) $(basename $@) | grep $(MD5SUM_VARNAME) | sed -e 's%\([0-9a-fA-F]\+\) \+.*%0x\1%'); \ + if [ "$$addr" = "" ]; then echo Can\'t find $(MD5SUM_VARNAME); exit 1; fi; \ + addr=$$(($$addr - $(TEXT_BASE))); \ + sum=$$(md5sum -b $@ | sed -e 's%\(.*\) \+\*$@%\1%') && \ + dd ibs=1 count=$$addr status=noxfer < $@ > [email protected]; \ + echo -n $$sum >> [email protected]; \ + addr=$$(($$addr + 32)); \ + dd ibs=1 skip=$$addr status=noxfer < $@ >> [email protected]; \ + mv [email protected] $@; \ + echo -n $$sum > [email protected] ) +else +cmd_md5sum = +endif + OBJCOPYFLAGS_barebox.bin = -O binary barebox.bin: barebox FORCE $(call if_changed,objcopy) + $(call cmd,md5sum) + ifndef CONFIG_PBL_IMAGE $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE)) endif
arch/arm/boards/greatfirst/com9200/Makefile new file +4 -0
@@ -0,0 +1,4 @@ +# EXTRA_CFLAGS += -DPROJECT_NAME="$(PROJECT_NAME)" -DPROJECT_VERSION="$(PROJECT_VERSION)" + +obj-$(CONFIG_MACH_SSR600T) += basic_init.o tiny_init.o +obj-$(CONFIG_MACH_SSR600) += basic_init.o init.o
arch/arm/boards/greatfirst/com9200/basic_init.c new file +55 -0
55 lines not on this page · raw message
arch/arm/boards/greatfirst/com9200/basic_init.h new file +17 -0
@@ -0,0 +1,17 @@ +/* ---------------------------------------- HEADER GUARD ---------------------------------------- */ +#ifndef __BASIC_INIT__H__ +#define __BASIC_INIT__H__ +#ifdef __cplusplus +extern "C" { +#endif +/* ---------------------------------------- HEADER GUARD ---------------------------------------- */ + +void init_eth_device (void ); +void init_ip (void ); + +/* ---------------------------------------- HEADER GUARD ---------------------------------------- */ +#ifdef __cplusplus +} +#endif +#endif +/* ---------------------------------------- HEADER GUARD ---------------------------------------- */
arch/arm/boards/greatfirst/com9200/config.h new file +71 -0
71 lines not on this page · raw message
arch/arm/boards/greatfirst/com9200/env/bin/dlrun new file +14 -0
@@ -0,0 +1,14 @@ +#!/bin/sh + +if [ $# -ge 1 ]; then + name="$1" +else + name=zbarebox.bin +fi + +cd / +if [ -e "/dev/tempmem" ]; then + tftp ${global.prj.name}-${global.prj.ver}/$name /dev/tempmem && go /dev/tempmem +else + tftp ${global.prj.name}-${global.prj.ver}/$name && ./$name +fi
arch/arm/boards/greatfirst/com9200/env/bin/init new file +15 -0
@@ -0,0 +1,15 @@ +#!/bin/sh + +export PATH=/env/bin + +# automount tftp server based on $eth0.serverip +mkdir -p /mnt/tftp +automount /mnt/tftp 'mount -t tftp $eth0.serverip /mnt/tftp' + +nor_parts="256k(barebox),128k(bareboxenv),3M(kernel),-(root)" +if [ -e /dev/nor0 -a -n "$nor_parts" ]; then + addpart /dev/nor0 $nor_parts +fi + +# set a fancy prompt (if support is compiled in) +PS1="\e[1;31m[barebox@\h]:\w\e[0m\n# "
arch/arm/boards/greatfirst/com9200/env/bin/update new file +13 -0
@@ -0,0 +1,13 @@ +#!/bin/sh + +cd / +target="/dev/nor0.barebox" +if [ ! -e $target ]; then + echo error update $target not exist! + exit 1 +else + erase $target && tftp ${global.prj.name}-${global.prj.ver}/zbarebox.bin $target && echo Update OK + exit 0 +fi +echo Update Fail +exit 1
arch/arm/boards/greatfirst/com9200/init.c new file +164 -0
164 lines not on this page · raw message
arch/arm/boards/greatfirst/com9200/tiny_init.c new file +50 -0
50 lines not on this page · raw message
arch/arm/pbl/Makefile +5 -1
@@ -12,6 +12,9 @@ targets := zbarebox.lds zbarebox zbarebox.bin zbarebox.S \ extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern zbarebox.map ifeq ($(CONFIG_GREATFIRST),y) +quiet_cmd_addmd5sum = ADDMD5SUM $@ + cmd_addmd5sum = ( cp $@ [email protected]; cat $(objtree)/barebox.bin.md5 >> $@ ) + CPFILENAME = $(TFTP_ROOT_DIR)/$(PROJECT_NAME)-$(PROJECT_VERSION)/$(if $(CONFIG_TINY),boot-)$(notdir $@) DEFCFGNAME = $(PROJECT_NAME)$(if $(CONFIG_TINY),t)$(if $(CONFIG_BOARD_CPU),-$(CONFIG_BOARD_CPU))_defconfig GFPOSTPROC = \
@@ -21,11 +24,13 @@ GFPOSTPROC = \ echo " FILE-SIZE: $$actual bytes" 1>&2 else GFPOSTPROC = : +cmd_addmd5sum = endif $(obj)/zbarebox.bin: $(obj)/zbarebox FORCE $(call if_changed,objcopy) $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE)) + $(call cmd,addmd5sum) @$(GFPOSTPROC) $(Q)$(kecho) ' Barebox: $@ is ready' ------------------------------------
Signature · 9 lines
Best Regards, zzs _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Jean-Christophe PLAGNIOL-VILLARD
HI,
some fixe for at91
they are needed for at91sam9n12 support
Quoted 8 lines
The following changes since commit
c7a729aefe13104b6f3a9f2150a9e993bb510d43:Merge branch 'for-next/m25p80' (2012-11-21 11:54:34 +0100)
are available in the git repository at:
git://git.jcrosoft.org/barebox.gitdelivery/at91_fixes
Applied, thanks
Sascha
Quoted 26 lines
for you to fetch changes up to
02d37b5d4598cd3ffea4730aa027c8c04ab1f58d:Revert "mtd:
atmel_nand: optimize read/write buffer functions" (2012-11-22 02:21:14 +0800)----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (4):
at91: fix timer rate
atmel_nand: fix pmecc timeout
at91: clock: check overclock for sam9260/9261/9263/9rl Revert "mtd:atmel_nand: optimize read/write buffer functions"arch/arm/mach-at91/at91sam926x_time.c | 7 ++++++- arch/arm/mach-at91/clock.c | 12 ++++++++++++ drivers/mtd/nand/atmel_nand.c | 33 +++++++++++++++++++++++++-------- drivers/mtd/nand/atmel_nand_ecc.h | 2 +- 4 files changed, 44 insertions(+), 10 deletions(-)Best Regards,
J._______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox