Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/c81b26beb87c5dbf6b5f68b779e529915178b17c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
13 additions and
16 deletions
arch/i386/cpu/start.S
arch/i386/cpu/start16.S
arch/i386/include/asm/global_data.h
@ -51,7 +51,7 @@ _i386boot_start:
wbinvd
/* Tell 32-bit code it is being entered from an in-RAM copy */
movw $ 0 x00 0 0 , % b x
movw $ G D _ F L G _ W A R M _ B O O T , % b x
_start :
/* This is the 32-bit cold-reset entry point */
@ -66,18 +66,10 @@ _start:
/* Clear the interupt vectors */
lidt b l a n k _ i d t _ p t r
/ *
* Skip l o w - l e v e l b o a r d a n d m e m o r y i n i t i a l i z a t i o n i f n o t s t a r t i n g
* from c o l d - r e s e t . T h i s a l l o w s u s t o d o a f a i l s a f e b o o t - s t r a p
* into a n e w b u i l d o f U - B o o t f r o m a k n o w n - g o o d b o o t f l a s h
* /
movw $ 0 x00 0 1 , % a x
cmpw % a x , % b x
jne m e m _ i n i t _ r e t
/ * We c a l l a f e w f u n c t i o n s i n t h e b o a r d s u p p o r t p a c k a g e
* since w e h a v e n o s t a c k y e t w e ' l l h a v e t o u s e % e b p
* to s t o r e t h e r e t u r n a d d r e s s * /
/* Skip low-level initialization if not starting from cold-reset */
movl % e b x , % e c x
andl $ G D _ F L G _ C O L D _ B O O T , % e c x
jz s k i p _ m e m _ i n i t
/* Early platform init (setup gpio, etc ) */
jmp e a r l y _ b o a r d _ i n i t
@ -89,6 +81,7 @@ early_board_init_ret:
.globl mem_init_ret
mem_init_ret :
skip_mem_init :
/* fetch memory size (into %eax) */
jmp g e t _ m e m _ s i z e
.globl get_mem_size_ret
@ -22,6 +22,7 @@
* MA 0 2 1 1 1 - 1 3 0 7 U S A
* /
# include < a s m / g l o b a l _ d a t a . h >
# define B O O T _ S E G 0 x f f f f00 0 0 / * l i n e a r s e g m e n t o f b o o t c o d e * /
# define a32 . b y t e 0 x67 ;
@ -31,6 +32,9 @@
.code16
.globl start16
start16 :
/* Set the Cold Boot / Hard Reset flag */
movl $ G D _ F L G _ C O L D _ B O O T , % e b x
/ *
* First w e l e t t h e B S P d o s o m e e a r l y i n i t i a l i z a t i o n
* this c o d e h a v e t o m a p t h e f l a s h t o i t s f i n a l p o s i t i o n
@ -57,9 +61,6 @@ o32 cs lgdt gdt_ptr
/* Flush the prefetch queue */
jmp f f
ff :
/* Tell 32-bit code it is being entered from hard-reset */
movw $ 0 x00 0 1 , % b x
/* Finally jump to the 32bit initialization code */
movw $ c o d e 3 2 s t a r t , % a x
movw % a x , % b p
@ -82,6 +82,9 @@ extern gd_t *gd;
# define GD_FLG_LOGINIT 0x00020 /* Log Buffer has been initialized */
# define GD_FLG_DISABLE_CONSOLE 0x00040 /* Disable console (in & out) */
# define GD_FLG_ENV_READY 0x00080 /* Environment imported into hash table */
# define GD_FLG_COLD_BOOT 0x00100 /* Cold Boot */
# define GD_FLG_WARM_BOOT 0x00200 /* Warm Boot */
# define DECLARE_GLOBAL_DATA_PTR