Fork of the vendor (Boundary Devices) u-boot for Reform 2, with minor tweaks. The goal is to migrate to mainstream u-boot or barebox ASAP. The main impediment so far is the 4GB RAM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

63 lines
881 B

  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  4. */
  5. #include <config.h>
  6. OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
  7. OUTPUT_ARCH(arc)
  8. ENTRY(_start)
  9. SECTIONS
  10. {
  11. . = CONFIG_SYS_TEXT_BASE;
  12. __image_copy_start = .;
  13. __text_start = .;
  14. .text : {
  15. arch/arc/lib/start.o (.text*)
  16. *(.text*)
  17. }
  18. __text_end = .;
  19. . = ALIGN(1024);
  20. __ivt_start = .;
  21. .ivt :
  22. {
  23. *(.ivt)
  24. }
  25. __ivt_end = .;
  26. . = ALIGN(4);
  27. .rodata : {
  28. *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
  29. }
  30. . = ALIGN(4);
  31. .data : {
  32. *(.data*)
  33. }
  34. . = ALIGN(4);
  35. .u_boot_list : {
  36. KEEP(*(SORT(.u_boot_list*)));
  37. }
  38. . = ALIGN(4);
  39. __rel_dyn_start = .;
  40. .rela.dyn : {
  41. *(.rela.dyn)
  42. }
  43. __rel_dyn_end = .;
  44. . = ALIGN(4);
  45. __bss_start = .;
  46. .bss : {
  47. *(.bss*)
  48. }
  49. __bss_end = .;
  50. . = ALIGN(4);
  51. __image_copy_end = .;
  52. __init_end = .;
  53. }