Skip to contentSkip to conversation

fixes

PATCH Applied Jean-Christophe PLAGNIOL-VILLARD 2 participants 5 messages Apr 18, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover fixes

HI,

the following patch series is ramdom fixes of the next

The following changes since commit a2d2e8868fe3c963ebac634b695ae18bb4b411ca:

config: switch machine to hostname (2012-04-18 12:03:58 +0200)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git fixes

for you to fetch changes up to 8c04018b528bb638e22b7f573617842482bbc05a:

config: fix missing switch machine to hostname during merge (2012-04-18 19:51:05 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (3):
arm: bootm: zImage: add error message when can not request the memory
dhcp: fix typo introduce during rebase of hostname patch
config: fix missing switch machine to hostname during merge

 arch/arm/boards/eukrea_cpuimx35/env/config |   14 +++++++-------
 arch/arm/lib/bootm.c                       |    2 ++
 net/dhcp.c                                 |    2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

PATCH 1/3 arm: bootm: zImage: add error message when can not request the memory

This will allow to understand what happened.

---
 arch/arm/lib/bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/lib/bootm.c +2 -0
index 26053dc..36f4342 100644
@@ -239,6 +239,8 @@ static int do_bootz_linux(struct image_data *data)
 
 	data->os_res = request_sdram_region("zimage", load_address, end);
 	if (!data->os_res) {
+		pr_err("bootm/zImage: failed to request memory at 0x%lx to 0x%lx (%d).\n",
+		       load_address, load_address + end, end);
 		ret = -ENOMEM;
 		goto err_out;
 	}
Signature · 7 lines
1.7.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

PATCH 2/3 dhcp: fix typo introduce during rebase of hostname patch

In reply to Jean-Christophe PLAGNIOL-VILLARD
---
 net/dhcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/dhcp.c +1 -1
index 1d01d05..0c882fb 100644
@@ -681,7 +681,7 @@ BAREBOX_CMD_HELP_START(dhcp)
 BAREBOX_CMD_HELP_USAGE("dhcp [OPTIONS]\n")
 BAREBOX_CMD_HELP_SHORT("Invoke dhcp client to obtain ip/boot params.\n")
 BAREBOX_CMD_HELP_OPT  ("-H <hostname>",
-"Hostname to send to the DHCP server\n");
+"Hostname to send to the DHCP server\n")
 BAREBOX_CMD_HELP_OPT  ("-v <vendor_id>",
 "DHCP Vendor ID (code 60) submitted in DHCP requests. It can\n"
 "be used in the DHCP server's configuration to select options\n"
Signature · 7 lines
1.7.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

PATCH 3/3 config: fix missing switch machine to hostname during merge

In reply to Jean-Christophe PLAGNIOL-VILLARD

So we can use it for dhcp request too.

---
 arch/arm/boards/eukrea_cpuimx35/env/config |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
arch/arm/boards/eukrea_cpuimx35/env/config +7 -7
index 8f64ba0..1b19bd2 100644
@@ -3,7 +3,7 @@
 # otg port mode : can be 'host' or 'device'
 otg_mode="device"
 
-machine=eukrea-cpuimx35
+hostname=eukrea-cpuimx35
 
 # use 'dhcp' to do dhcp in barebox and in kernel
 # use 'none' if you want to skip kernel ip autoconfiguration
@@ -22,16 +22,16 @@ rootfs_loc=nand
 
 # rootfs
 rootfs_type=ubifs
-rootfsimage=$machine/rootfs.$rootfs_type
+rootfsimage=$hostname/rootfs.$rootfs_type
 
 # kernel
-kernelimage=$machine/uImage-${machine}.bin
+kernelimage=$hostname/uImage-${hostname}.bin
 
 # barebox and it's env
-bareboximage=$machine/barebox-${machine}.bin
-bareboxenvimage=$machine/bareboxenv-${machine}.bin
+bareboximage=$hostname/barebox-${hostname}.bin
+bareboxenvimage=$hostname/bareboxenv-${hostname}.bin
 
-nfsroot="$eth0.serverip:/srv/nfs/$machine"
+nfsroot="$eth0.serverip:/srv/nfs/$hostname"
 
 autoboot_timeout=1
 
@@ -40,7 +40,7 @@ bootargs="console=ttymxc0,115200 otg_mode=$otg_mode"
 nand_parts="256k(barebox)ro,128k(bareboxenv),3M(kernel),-(root)"
 rootfs_mtdblock_nand=3
 nand_device="mxc_nand"
-ubiroot="$machine-rootfs"
+ubiroot="$hostname-rootfs"
 device_type="nand"
 
 # set a fancy prompt (if support is compiled in)
Signature · 7 lines
1.7.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#4 lore raw
In reply to Jean-Christophe PLAGNIOL-VILLARD
Quoted 8 lines · Jean-Christophe PLAGNIOL-VILLARD

HI,

the following patch series is ramdom fixes of the next

The following changes since commit a2d2e8868fe3c963ebac634b695ae18bb4b411ca:

config: switch machine to hostname (2012-04-18 12:03:58 +0200)

Quoted 7 lines

are available in the git repository at:

git://git.jcrosoft.org/barebox.git fixes

for you to fetch changes up to 8c04018b528bb638e22b7f573617842482bbc05a:

config: fix missing switch machine to hostname during merge (2012-04-18 19:51:05 +0800)

Applied, thanks.

Sascha

Quoted 20 lines

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (3):
arm: bootm: zImage: add error message when can not request the memory
dhcp: fix typo introduce during rebase of hostname patch
config: fix missing switch machine to hostname during merge

 arch/arm/boards/eukrea_cpuimx35/env/config |   14 +++++++-------
 arch/arm/lib/bootm.c                       |    2 ++
 net/dhcp.c                                 |    2 +-
 3 files changed, 10 insertions(+), 8 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