LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: 305liuzg@1...<305liuzg@1...>
    Date: Tue Apr 12 05:33:03 CEST 2005
    Subject: [openrisc] uclinux running error problem
    Top
    Hi
    I use the cygwin gcc:gcc version 3.1 20020121 (experimental).
    This problem does not occur in or1ksim.It runs correctly in or1ksim!
    I found in the file /mmnommu/Page_alloc.c:
    #define RMQUEUE(order, dma) \
    do { struct free_area_struct * area = free_area+order; \
    unsigned long new_order = order; \
    do { struct page *prev = memory_head(area), *ret; \
    while (memory_head(area) != (ret = prev->next)) { \
    if (!dma || CAN_DMA(ret)) { \
    unsigned long map_nr = ret-
    >map_nr; \
    (prev->next = ret->next)->prev =
    prev; \
    MARK_USED(map_nr, new_order,
    area); \
    nr_free_pages -= 1 << order; \
    EXPAND(ret, map_nr, order,
    new_order, area); \
    restore_flags(flags); \
    return ADDRESS(map_nr); \
    } \
    prev = ret; \
    } \
    new_order++; area++; \
    } while (new_order < NR_MEM_LISTS); \
    } while (0)

    I use printk function and find "map_nr" is always zero but in or1ksim it is
    not zero!What's wrong with me?

    Regards



    ----- Original Message -----
    From: Matjaz Breskvar<phoenix@o...>
    To:
    Date: Mon Apr 11 15:22:51 CEST 2005
    Subject: [openrisc] uclinux running error problem

    > * 305liuzg@1... (305liuzg@1...) wrote:
    > > Hi
    > > I downloaded the uclinux image to the board.
    > > But found the following error:Failed to allocate buffer hash
    > table.
    > > I am not familiar with uclinux.How to solove the problem?
    > >
    > > OpenRisc 1000 support (C) www.opencores.org
    > > uClinux/OR32
    > > Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff
    > Dionne
    > > Calibrating delay loop.. ok - 1.02 BogoMIPS
    > > Memory available: 7372k/8180k RAM, 0k/0k ROM (816k kernel
    > data, 422k
    > > code)
    > > Kernel panic: Failed to allocate buffer hash table
    > > In swapper task - not syncing
    > which version of gcc did you use ? does this problem occur also in
    > when running in or1ksim simulator ?
    > best regards,
    > p.
    >
    >

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.