Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue
@ 2018-08-16 20:11 Peter Korsgaard
  2018-08-16 20:11 ` [Buildroot] [PATCH 2/3] sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-08-16 20:11 UTC (permalink / raw)
  To: buildroot

u-boot 2016.05 no longer builds with the default gcc/binutils versions:

https://gitlab.com/buildroot.org/buildroot/-/jobs/88314946

  LD      u-boot
fs/built-in.o: In function `read_symbol':
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:129: undefined reference to `pull_bit'
fs/built-in.o: In function `decompress_huffman':
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:159: undefined reference to `pull_bits'
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:170: undefined reference to `pull_bits'
..
/builds/buildroot.org/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabi-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509
Makefile:1192: recipe for target 'u-boot' failed
make[1]: *** [u-boot] Error 1
make[1]: Leaving directory '/builds/buildroot.org/buildroot/output/build/uboot-2016.05'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/sheevaplug_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
index edafffe0a0..17139f7afb 100644
--- a/configs/sheevaplug_defconfig
+++ b/configs/sheevaplug_defconfig
@@ -19,7 +19,7 @@ BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sheevaplug"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.05"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07"
 BR2_TARGET_UBOOT_FORMAT_KWB=y
 # BR2_TARGET_UBOOT_NETWORK is not set
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes
  2018-08-16 20:11 [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
@ 2018-08-16 20:11 ` Peter Korsgaard
  2018-08-16 20:11 ` [Buildroot] [PATCH 3/3] sheevaplug: add a basic readme Peter Korsgaard
  2018-08-17 14:51 ` [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-08-16 20:11 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/sheevaplug_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
index 17139f7afb..052e39398a 100644
--- a/configs/sheevaplug_defconfig
+++ b/configs/sheevaplug_defconfig
@@ -26,7 +26,7 @@ BR2_TARGET_UBOOT_FORMAT_KWB=y
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.63"
 BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5"
 BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] sheevaplug: add a basic readme
  2018-08-16 20:11 [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
  2018-08-16 20:11 ` [Buildroot] [PATCH 2/3] sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes Peter Korsgaard
@ 2018-08-16 20:11 ` Peter Korsgaard
  2018-08-17 14:51 ` [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-08-16 20:11 UTC (permalink / raw)
  To: buildroot

Describing how to update the board.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/sheevaplug/readme.txt | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 board/sheevaplug/readme.txt

diff --git a/board/sheevaplug/readme.txt b/board/sheevaplug/readme.txt
new file mode 100644
index 0000000000..e0ed2684c9
--- /dev/null
+++ b/board/sheevaplug/readme.txt
@@ -0,0 +1,36 @@
+Sheevaplug
+==========
+
+Once the build process is finished you will have the following files
+in the output/images/ directory:
+
+- u-boot.kwb
+- uImage.kirkwood-sheevaplug
+- rootfs.jffs2
+
+Copy these to a TFTP server, connect ethernet and mini-USB cable and
+power up the board. Stop the board in U-Boot and update U-Boot by
+executing:
+
+setenv serverip <ipaddress-of-tftp-server>
+setenv bootfile <path/to/u-boot.kwb>
+bootp
+nand erase 0x0 0x80000
+nand write $fileaddr 0x0 0x80000
+reset
+
+Once the new U-Boot boots up, stop it again and update Linux kernel
+and rootfs by:
+
+setenv serverip <ipaddress-of-tftp-server>
+setenv bootfile <path/to/uImage.kirkwood-sheevaplug>
+bootp
+nand erase.part kernel
+nand write $fileaddr kernel 0x400000
+
+setenv bootfile <path/to/rootfs.jffs2>
+bootp
+nand erase.part rootfs
+nand write $fileaddr rootfs $filesize
+
+reset
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue
  2018-08-16 20:11 [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
  2018-08-16 20:11 ` [Buildroot] [PATCH 2/3] sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes Peter Korsgaard
  2018-08-16 20:11 ` [Buildroot] [PATCH 3/3] sheevaplug: add a basic readme Peter Korsgaard
@ 2018-08-17 14:51 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-08-17 14:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > u-boot 2016.05 no longer builds with the default gcc/binutils versions:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/88314946

 >   LD      u-boot
 > fs/built-in.o: In function `read_symbol':
 > /builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:129: undefined reference to `pull_bit'
 > fs/built-in.o: In function `decompress_huffman':
 > /builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:159: undefined reference to `pull_bits'
 > /builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:170: undefined reference to `pull_bits'
 > ..
 > /builds/buildroot.org/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabi-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509
 > Makefile:1192: recipe for target 'u-boot' failed
 > make[1]: *** [u-boot] Error 1
 > make[1]: Leaving directory '/builds/buildroot.org/buildroot/output/build/uboot-2016.05'

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-17 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 20:11 [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard
2018-08-16 20:11 ` [Buildroot] [PATCH 2/3] sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes Peter Korsgaard
2018-08-16 20:11 ` [Buildroot] [PATCH 3/3] sheevaplug: add a basic readme Peter Korsgaard
2018-08-17 14:51 ` [Buildroot] [PATCH 1/3] sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox