Skip to contentSkip to conversation

Want to burn a u-boot to a customized board

U-Boot narke 2 participants 4 messages Nov 12, 2012 – Nov 13, 2012

lore
Share & tools
lore

narke

author
#0 lore raw

Hi, List

I've just built an u-boot boot-loader based on the configuration of smdk2410. I built this by using buildroot, without additional customizing and modifications.

My problem is, I want to use the boot-loader to boot another s3c2410 board which is a customized board cannot found configurations in the u-boot source tree. I don't have smdk2410 actually, I choose this board just for making a good starting point.

My customized S3C2410 board looks not a strange one, it have common components usually found on other S3C2410 boards, such as Flash, SD Card Socket, Serial Ports and Ethernet interfaces.

My question is, if I download the boot-loader I just built for smdk2410 to my customized board, how much chance I can see it can boot the board with success? At this step, I don't expect I can load a Linux kernel successfully, I just what to see it can boot and give me a prompt on the serial console.

How much is that possible?

Signature · 2 lines
woody
I can't go back to yesterday - because I was a different person then.
#1 lore raw

Hi Narke,

every board has a specific include/configs/xxyyzz.h configuration file, based on the board-specific memory map (where flash, sdram etc are mapped).

So, if you are not lucky enough that other similar boards use same memory map and similar periferic hardware, you have to arrange new board specific files for this custom board.

Look inside similar boards configuration (include/configs/*.h) files with same cpu, and try to figure out a working mix for the custom board, and read the important README file for help on this.

Start from the memory map, as flash and sdram addresses, it could be a good starting point to have something working briefly.

Best Regards,
Angelo Dureghello

Quoted 31 lines · narke

Hi, List

I've just built an u-boot boot-loader based on the configuration of smdk2410. I built this by using buildroot, without additional customizing and modifications.

My problem is, I want to use the boot-loader to boot another s3c2410 board which is a customized board cannot found configurations in the u-boot source tree. I don't have smdk2410 actually, I choose this board just for making a good starting point.

My customized S3C2410 board looks not a strange one, it have common components usually found on other S3C2410 boards, such as Flash, SD Card Socket, Serial Ports and Ethernet interfaces.

My question is, if I download the boot-loader I just built for smdk2410 to my customized board, how much chance I can see it can boot the board with success? At this step, I don't expect I can load a Linux kernel successfully, I just what to see it can boot and give me a prompt on the serial console.

How much is that possible?

Signature · 7 lines
woody
I can't go back to yesterday - because I was a different person then.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
author
#2 lore raw

Angelo,

Many thanks! Looking through the include/configs/mdk2410.h gave me many hints. I will start from here.

-woody

Quoted 53 lines · Angelo Dureghello

Hi Narke,

every board has a specific include/configs/xxyyzz.h configuration file, based on the board-specific memory map (where flash, sdram etc are mapped).

So, if you are not lucky enough that other similar boards use same memory map and similar periferic hardware, you have to arrange new board specific files for this custom board.

Look inside similar boards configuration (include/configs/*.h) files with same cpu, and try to figure out a working mix for the custom board, and read the important README file for help on this.

Start from the memory map, as flash and sdram addresses, it could be a good starting point to have something working briefly.

Best Regards,
Angelo Dureghello

Quoted 31 lines · narke

Hi, List

I've just built an u-boot boot-loader based on the configuration of smdk2410. I built this by using buildroot, without additional customizing and modifications.

My problem is, I want to use the boot-loader to boot another s3c2410 board which is a customized board cannot found configurations in the u-boot source tree. I don't have smdk2410 actually, I choose this board just for making a good starting point.

My customized S3C2410 board looks not a strange one, it have common components usually found on other S3C2410 boards, such as Flash, SD Card Socket, Serial Ports and Ethernet interfaces.

My question is, if I download the boot-loader I just built for smdk2410 to my customized board, how much chance I can see it can boot the board with success? At this step, I don't expect I can load a Linux kernel successfully, I just what to see it can boot and give me a prompt on the serial console.

How much is that possible?

--
woody
I can't go back to yesterday - because I was a different person then.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 2 lines
woody
I can't go back to yesterday - because I was a different person then.
author
#3 lore raw
In reply to Angelo Dureghello
Quoted 4 lines · Angelo Dureghello

Hi Narke,

every board has a specific include/configs/xxyyzz.h configuration

file,

Quoted 1 line

based on the board-specific memory map (where flash, sdram etc are

mapped).

Quoted 1 line

So, if you are not lucky enough that other similar boards use same

memory

Quoted 5 lines

map and similar periferic hardware, you have to arrange new board specific files for this custom board.

Look inside similar boards configuration (include/configs/*.h)

files

Quoted 1 line

with same cpu, and try to figure out a working mix for the custom

board,

Quoted 4 lines

and read the important README file for help on this.

Start from the memory map, as flash and sdram addresses, it could

be a

Quoted 11 lines

good starting point to have something working briefly.

Best Regards,
Angelo Dureghello

Quoted 4 lines
Quoted 3 lines · narke

Hi, List

I've just built an u-boot boot-loader based on the configuration

of

Quoted 4 lines
Quoted 4 lines

smdk2410. I built this by using buildroot, without additional customizing and modifications.

My problem is, I want to use the boot-loader to boot another

s3c2410

Quoted 1 line
Quoted 1 line

board which is a customized board cannot found configurations in

the

Quoted 4 lines
Quoted 4 lines

u-boot source tree. I don't have smdk2410 actually, I choose this board just for making a good starting point.

My customized S3C2410 board looks not a strange one, it have

common

Quoted 1 line
Quoted 1 line

components usually found on other S3C2410 boards, such as Flash,

SD

Quoted 6 lines
Quoted 6 lines

Card Socket, Serial Ports and Ethernet interfaces.

My question is, if I download the boot-loader I just built for smdk2410 to my customized board, how much chance I can see it can boot the board with success? At this step, I don't expect I can load a Linux kernel successfully, I just what to see it can boot

and

Quoted 4 lines
Quoted 4 lines

give me a prompt on the serial console.

How much is that possible?

Many thanks to the suggestions!